[Koha-patches] [PATCH] Bug 7847 Undefined subroutine &C4::Search::GetHiddenItemnumbers
Dobrica Pavlinusic
dpavlin at rot13.org
Sat Mar 31 03:23:32 CEST 2012
From: Chris Cormack <chrisc at catalyst.net.nz>
This bug was uncovered by @mglavica during HackFest in Marseille
It also showed it's ugly head during my plack presentation there.
It's introduced by commit b65efdaacaf77fb53fee479da7f2e990ba0adeed
which is Bug 6027
Signed-off-by: Dobrica Pavlinusic <dpavlin at rot13.org>
---
C4/Search.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index 56468b5..bd25f77 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1624,7 +1624,7 @@ sub searchResults {
# Hidden items
if ($is_opac) {
- my @hi = GetHiddenItemnumbers($item);
+ my @hi = C4::Items::GetHiddenItemnumbers($item);
$item->{'hideatopac'} = @hi;
push @hiddenitems, @hi;
}
--
1.7.2.5
More information about the Koha-patches
mailing list