]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 20:12:57 +0000 (20:12 +0000)
commitb8f34e1acce7fe0a9b9698e30c210248107973f9
treeb5f80054608321988c808b0bced67f8fb04ef294
parented114537d3a965bc5f636e4f138cdf35c2515d3b
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>
opac/opac-search.pl