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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rob Holmes created an issue. See original summary.

Rob Holmes’s picture

Status: Active » Needs review

  • tstoeckler committed a3f5a72 on 7.x-2.x
    Issue #2634732 by Rob Holmes, tstoeckler: Sort libraries by title in the...
tstoeckler’s picture

Status: Needs review » Fixed

Thanks! 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.