[Koha-bugs] [Bug 29697] Replace GetMarcBiblio occurrences with $biblio->metadata->record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 8 15:40:20 CEST 2022


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

--- Comment #130 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
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.


More information about the Koha-bugs mailing list