]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 13 Dec 2019 14:05:17 +0000 (14:05 +0000)
commitc926c934ad6a607f80d6afac9553761cca511ea2
tree6b65f728d8d98376874925db7e73e0deeaf65cbb
parent773f7ca461d90fef78311bb09aebc64ff47a3e33
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>
admin/preferences.pl