From: Chris Cormack <[email protected]>

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 <[email protected]>
---
 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

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to