]> git.koha-community.org Git - koha.git/commit
Bug 12441: Search.pl conditional checks and displays using same syspref
authorHayley Mapley <hayleymapley@catalyst.net.nz>
Thu, 14 Mar 2019 03:47:59 +0000 (03:47 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Sat, 23 Mar 2019 09:47:37 +0000 (09:47 +0000)
commitc786e4de2369de34ce26610309cbce53534446d3
tree130ee473aabeecd24a3d1c64bf3f7a6ba35c5b2d
parent29dd8d62943c303c60284e0430b1b7230891b97a
Bug 12441: Search.pl conditional checks and displays using same syspref

Script search.pl checks OPACdefaultSortField and OPACdefaultSortOrder, but
shows defaultSortField and defaultSortOrder when using Advanced Search
in the staff client.

Test plan:
Apply the patch and then check that the Advanced Search uses
defaultSortOrder and defaultSortField sysprefs instead of the OPAC
sysprefs in the conditional. Check that sort behaviour in Advanced
Search still functions as expected. (It should do - this doesn't change
what displays, just improves consistency).

Sponsored-by: Catalyst IT
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
catalogue/search.pl