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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Jul 2022 14:51:38 +0000 (11:51 -0300)
commitd7647052f20104b70ba6b02d1535874fb9ab3b61
tree665619ebe72eb6a1b60e757eb1a9027cd1d5a5b4
parent2eea061ca30e4810b07ca2920bfe1e55762fab02
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>
opac/opac-search.pl