Problem/Motivation

Make Access Token Entity works with Views.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

manuvelasco created an issue. See original summary.

manuvelasco’s picture

Issue summary: View changes
manuvelasco’s picture

Title: Views integrarion » Views integration
manuvelasco’s picture

StatusFileSize
new2.7 KB

Hi, I added a new views_data Handler to the Access Token Entity and it works with any entity type configured in the Access Unpublished settings form.

manuvelasco’s picture

StatusFileSize
new6.6 KB

renew and delete operations updates to work with views.

manuvelasco’s picture

StatusFileSize
new7.75 KB

the js library is not added for default for the view operations field, this patch attaches the library in a new access token operation view handler.

manuvelasco’s picture

StatusFileSize
new9.66 KB

access_unpublished_copy_raw_url view field added and url query parameter removed from view operations field

manuvelasco’s picture

StatusFileSize
new9.42 KB

Clean up patch

manuvelasco’s picture

StatusFileSize
new9.56 KB

user_id filter id updated from numeric to username. This is necessary to have the token access author as autocomplete field.

recrit’s picture

Status: Active » Needs review

This patch is working great and is essential on a site with lots of tokens. It allows you to make a better admin page so that admins can search by node title, filter by content type, sort, and anything else views can do.

Marking as needs review.

darby3’s picture

Patch 9 appears to work like a charm for my needs. Thank you!

generalredneck’s picture

Issue tags: +Needs tests

great feature. Lets see if we can get some default tests on it so that future us don't break this functionality.

mably made their first commit to this issue’s fork.

mably’s picture

Issue tags: -Needs tests

MR created with some tests.

generalredneck’s picture

Status: Needs review » Fixed

Mably,

hot damn, you are on fire. this one is going into 1.x-dev

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • generalredneck committed 06631aa2 on 8.x-1.x authored by mably
    Issue #3394195 by manuvelasco, recrit, darby3, generalredneck, mably:...
mably’s picture

You're welcome :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.