Problem/Motivation
Make Access Token Entity works with Views.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | access_unpublished-3394195-8.patch | 9.42 KB | manuvelasco |
Issue fork access_unpublished-3394195
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
Comment #2
manuvelasco commentedComment #3
manuvelasco commentedComment #4
manuvelasco commentedHi, 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.
Comment #5
manuvelasco commentedrenew and delete operations updates to work with views.
Comment #6
manuvelasco commentedthe 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.
Comment #7
manuvelasco commentedaccess_unpublished_copy_raw_url view field added and url query parameter removed from view operations field
Comment #8
manuvelasco commentedClean up patch
Comment #9
manuvelasco commenteduser_id filter id updated from numeric to username. This is necessary to have the token access author as autocomplete field.
Comment #10
recrit commentedThis 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.
Comment #11
darby3Patch 9 appears to work like a charm for my needs. Thank you!
Comment #12
generalredneckgreat feature. Lets see if we can get some default tests on it so that future us don't break this functionality.
Comment #15
mably commentedMR created with some tests.
Comment #16
generalredneckMably,
hot damn, you are on fire. this one is going into 1.x-dev
Comment #19
mably commentedYou're welcome :)