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.
The UI for editing a view's admin tags says:
> Optionally, enter a comma delimited list of tags for this view to use in filtering and sorting views on the administrative page.
However, in the DB this is just stored as a string of whatever you enter. The admin list of all views has the table heading 'Tag' (in singular) and so sorting on this presumably treats the entire string 'foo, bar' as one single tag.
Comment | File | Size | Author |
---|---|---|---|
#4 | views-multiple-tags-1408160-4.patch | 707 bytes | balsama |
Comments
Comment #1
dawehnerWell but for example the filter and the theme information works with it like being multiple.
Personally i think that there shouldn't be some other system to get this actually working, it's probably much to complicated and it's not that worth to fix it.
As a summary maybe the status "worked as designed" might be the right way to handle it here.
Comment #2
joachim CreditAttribution: joachim commentedI agree it would be complicated to change this to use distinct tags -- my suggestion is that the UI text should be tweaked.
Comment #3
dawehnerLet's mark it as task
Comment #4
balsamaPatched attached to change wording to "Enter an optional tag for this view; it is used only to help sort views on the administrative page."
Comment #5
balsamaComment #6
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 6 year old patch in #4 applied cleanly to the latest views 7.x-3.x-dev and if still applicable needs review.