24 Sep
2021
24 Sep
'21
8:05 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28883 --- Comment #42 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- $biblio->items->filter_by_visible_in_opac( { patron => $patron } )->as_list => This filter sub in Koha/Items always returns a scalar (a plural object). => Unfortunately, we have been quite inconsistent in this area. E.g. directly following it: sub filter_out_lost { my ($self) = @_; my $params = { itemlost => 0 }; return $self->search( $params ); } ->search is context specific (contains wantarray), so depends on caller and thus filter_out_lost is too. I am lost ;) -- You are receiving this mail because: You are watching all bug changes.