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.
Currently the new UI listing at 'admin/reports/libraries' shows the installed libraries ordered by their machine name, but they are displayed in the table using their Title, this means that the list is not alphabetical and hard to scan if you have a lot of libraries installed.
I think they should be sorted by title instead? patch attached.
Comment | File | Size | Author |
---|---|---|---|
libraries_ui_with_ksort_before.png | 147.02 KB | Rob Holmes | |
libraries_ui_with_uasort_after.png | 146.94 KB | Rob Holmes | |
libraries-ui_sort_order-1-1.patch | 532 bytes | Rob Holmes | |
Comments
Comment #2
Rob Holmes CreditAttribution: Rob Holmes commentedComment #4
tstoecklerThanks! Totally makes sense. Anonymous functions were introduced in PHP 5.3, so I put this into a dedicated function. Also used
$a
and$b
instead of$x
and$y
because that is more standard, I think. Committed this to 7.x-2.x directly because those were really just cosmetic, your patch was great as it was.