]> git.koha-community.org Git - koha.git/commit
Bug 24170: Fix sysprefs search result order
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Dec 2019 14:44:53 +0000 (15:44 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 20 Dec 2019 18:35:19 +0000 (18:35 +0000)
commit513f301ead4658d7c94660bdb7be8e17fbf41de8
tree68d5c1085e209edb0a370b08850ab5dca5b88d75
parent096d29f56ad74e3142876198a888fb8154d41f28
Bug 24170: Fix sysprefs search result order

The same sysprefs search will not always return the results in the same
order.
If you search for 'd' in the "search system preferences" box
  /cgi-bin/koha/admin/preferences.pl?op=search&searchfield=d
you will see that the modules are not ordered consistently.

This patch makes them display alphabetically

Test plan:
Search the same string several times in the syspref list.
The search result should always be ordered the same way

Signed-off-by: cori <corilynn.arnold@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 960b4491cbb159f44352da9e936d7aa03b666b24)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/preferences.pl