]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 19 Dec 2019 22:10:33 +0000 (22:10 +0000)
commit960b4491cbb159f44352da9e936d7aa03b666b24
treee612c3a2238bc94adb0528028e0f397ffaa96f48
parent8073350819ea0fa73e3492e62b52575fecaecc3e
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>
admin/preferences.pl