]> git.koha-community.org Git - koha.git/commit
Bug 31186: Fix the hidingrules test for result numbering
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 19 Jul 2022 11:27:55 +0000 (11:27 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 26 Aug 2022 13:54:48 +0000 (15:54 +0200)
commit13982926c79a09306423bd95ce9e3143c75fb1c9
tree0e1c8b2bc215b8c57a29ecc63cb70367bbd6185e
parent6c47479066eae4d6c3c42aaeb6e2b7dc86d92ef4
Bug 31186: Fix the hidingrules test for result numbering

We should not test the $hidingrules variable but the number
of keys it contains.

Test plan:
Clear OpacHiddenItems.
Check with and without this patch search result numbering on
the OPAC.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d7647052f20104b70ba6b02d1535874fb9ab3b61)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b8f34e1acce7fe0a9b9698e30c210248107973f9)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
opac/opac-search.pl