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.
We have one site with a ton of views. When listed unsorted, it becomes very tedious to ensure all the correct view groups have been selected. We'd like to select them from an alphabetically sorted list, grouped by tags.
The attached patch allows for the checkboxes to be listed in one of three ways, depending on the viewfield_options_sort
setting:
- Alphabetically, grouped by tag
- Alphabetically, no grouping
- As returned by
views_get_all_views()
(current behavior)
Comment | File | Size | Author |
---|---|---|---|
viewfield-sort_views.patch | 2.78 KB | John Franklin | |
Comments
Comment #0.0
John Franklin CreditAttribution: John Franklin commentedclarity
Comment #1
John Franklin CreditAttribution: John Franklin commentedDoesn't set the default values properly.
Comment #1.0
John Franklin CreditAttribution: John Franklin commentedgrammer
Comment #2
jerdavisClosing as Drupal 6 is no longer supported.