View | Details | Raw Unified | Return to bug 37680
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +2 lines)
Lines 841-846 sub marc_records_to_documents { Link Here
841
                my $avail_items = Koha::Items->search({
841
                my $avail_items = Koha::Items->search({
842
                    biblionumber => $biblionumber,
842
                    biblionumber => $biblionumber,
843
                    onloan       => undef,
843
                    onloan       => undef,
844
                    notforloan   => { '<=' => 0 },
845
                    withdrawn    => 0,
844
                    itemlost     => 0,
846
                    itemlost     => 0,
845
                })->count;
847
                })->count;
846
848
847
- 

Return to bug 37680