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.
Problem/Motivation
The order of the filters on the Content overview page is different than the columns they relate to.
This makes the admin pages looking more chaotic then it should be.
Proposed resolution
Reorder the filters in the view to Title, Content type, Status and then Language (which isn't displayed in a column so should be at the end.)
Remaining tasks
Create Patch
User interface changes
This is a UI change but does not require any changes in the help text or new string translations.
Comment | File | Size | Author |
---|---|---|---|
#10 | interdiff-5-10.txt | 3.39 KB | rosinegrean |
#10 | order_content_filters-2830449-10.patch | 8.19 KB | rosinegrean |
#6 | content-filters-reordered.png | 12.09 KB | ifrik |
#5 | order_content_filters-2830449-5.patch | 4.8 KB | rosinegrean |
content-view-filter-order.png | 15.47 KB | ifrik |
Comments
Comment #2
hardikpandya CreditAttribution: hardikpandya at Iksula commentedComment #3
hardikpandya CreditAttribution: hardikpandya at Iksula commentedComment #4
rosinegrean CreditAttribution: rosinegrean at PitechPlus commentedComment #5
rosinegrean CreditAttribution: rosinegrean at PitechPlus commentedIs something else required except for the update of the .yml file for the view ?
Comment #6
ifrikThanks, this works as intended.
The new configuration is only used when the Drupal site is installed. It doesn't change existing sites. I've just checked with dawehner and that's fine because it's easy to change manually on existing sites.
Therefore just the yaml file is fine.
Comment #7
xjmThis seems like a sensible UX improvement -- the illustration in the summary says it all.
I agree that it is okay to just fix this for new installations -- after all, existing installations may have already customized the view.
I noticed
admin/people
has a similar problem. Can we fix that view here too?admin/content/files
seems to be in the correct order already.Comment #8
ifrikprics,
Do you want to change that second view as well?
Comment #9
rosinegrean CreditAttribution: rosinegrean at PitechPlus commented@ifrik, yes, i will update the patch tomorrow.
Comment #10
rosinegrean CreditAttribution: rosinegrean at PitechPlus commentedHere we go, patch and the interdiff for it.
Comment #12
rosinegrean CreditAttribution: rosinegrean at PitechPlus commentedI'm not sure why, it passes all tests, but the issue is set in needs work.
Any clue?
I will just add it in needs review again.
Comment #13
ifrikThanks,
both the list of content and the list of users now have the filters in the same order as the columns underneath on a fresh install.
Comment #15
xjmCommitted 28ecd0c and pushed to 8.3.x. Thanks!
Comment #16
xjmComment #17
ifrikThanks for getting this fixed and committed so fast.
It's one of those small things that often don't seem to be worth the bother, but then we can just fix it for lots of users.
Comment #18
tkoleary CreditAttribution: tkoleary commentedComment #19
Gábor Hojtsy