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.
Classifying this as a bug because it's a regression from D7 where you could filter on tags.
Currently the views overview page only filters by name and description. This makes the tag column pretty pointless (and the whole option to tag a view in general).
Steps to reproduce:
- Go to admin/structure/views
- Search for 'default'
expected result: The views tagged with 'default' show up
actual result: no views show up
Comment | File | Size | Author |
---|---|---|---|
#7 | interdiff.txt | 2.27 KB | dawehner |
#7 | 2638410-7.patch | 3.53 KB | dawehner |
#5 | 2638410-5.patch | 1.49 KB | dawehner |
#2 | views_filter_by_tag-2638410-2.patch | 1.36 KB | Lendude |
Comments
Comment #2
LendudeThis did the trick for me with manual testing.
Comment #3
Amruta_Nadgouda CreditAttribution: Amruta_Nadgouda as a volunteer and commentedLooks good. Working now :)
Comment #4
Amruta_Nadgouda CreditAttribution: Amruta_Nadgouda as a volunteer and commentedComment #5
dawehnera) We should not change the string, this is affected by the string freeze
b) IMHO we should use a data-drupal-selector attribute instead of the css class.
Comment #6
Lendude5a) fair enough.
5b)
yeah, much better, but then we need to change this in views-ui-view-info.html.twig too. And in the 'Source' comment for Drupal.behaviors.viewTableFilterByText.
Comment #7
dawehnerGood point @Lendude
Comment #8
LendudeManually tested this. With the patch applied I was able to search and find strings in :
- View title
- Machine name
- Description
- Tag
This looks ready to me.
Comment #11
Lendudetestbot hickup
Comment #12
catchCommitted/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!