https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697

--- Comment #130 from Jonathan Druart <[email protected]> ---
The following change should fix the second failure but it does not.

diff --git a/C4/Search.pm b/C4/Search.pm
index 75da21a4e6a..21b33d85fe9 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1828,6 +1828,7 @@ sub searchResults {
                                     ->filter_by_visible_in_opac({ patron =>
$search_context->{patron} });
                 unless ( $hi->count ) {
                     push @hiddenitems, $item->{itemnumber};
+                    $notforloan_count++;
                     $hideatopac_count++;
                     next;


We are getting 
    #          got: '3'
    #     expected: '2'

Help needed!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to