Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#2005166: Create simple file listing under admin/content/file added two views:
admin/content/files for an overview
admin/content/files/usage/% for a single file's usage info
These were added as two separate views, but they should have been a single view with two displays.
While rebuilding this, I noticed the breadcrumbs were broken for the file usage view.
I found that fix, which can be split out if needed.
Comment | File | Size | Author |
---|---|---|---|
#6 | file-2049479-6.patch | 22.48 KB | tim.plunkett |
#6 | interdiff.txt | 1.83 KB | tim.plunkett |
#3 | interdiff.txt | 423 bytes | tim.plunkett |
#3 | file-2049479-3.patch | 22.55 KB | tim.plunkett |
#1 | file-2049479-1.patch | 23.14 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettBefore:
After:
Comment #2
dawehnerLet's use the minipager.
Isn't that really out of scope?
Comment #3
tim.plunkettadmin/content/node uses full pager as well, and mini always says "Page 1" even if there are no more pages... So not switching.
Also mimicking the admin/content/node by hiding the contextual links.
Moved that hunk to #2049585: Views page displays with placeholders are forced to be MENU_CALLBACK
Comment #4
dawehnerOpened a follow up for the pager issue: #2049723: Mini pager shows "Page 1" if there is non item at all available
Comment #5
dawehnerLet's go with that for now. In general I think we should try to get contextual links enabled, as this is really a power feature!
Comment #6
tim.plunkettThat went in.
Comment #7
dawehnerPerfect!
Comment #8
alexpottCommitted 0a5c786 and pushed to 8.x. Thanks!