[Koha-bugs] [Bug 3142] Standardize how OPAC and staff determine requestability
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 27 14:37:22 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3142
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |additional_work_needed
--- Comment #66 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
+ $can_place_holds =
$biblio_object->items->filter_by_for_hold()->count;
This is exploding early in C4::Search::searchResults if the record is indexed
but deleted from the DB.
Can't call method "items" on an undefined value at
/kohadevbox/koha/C4/Search.pm line 2000
C4::Search::searchResults('HASH(0x55dc9a4076c0)', 'kw,wrdl: d', 432,
20, 0, undef, 'ARRAY(0x55dc9a3757e8)', 'HASH(0x55dc99f94a50)') called at
/kohadevbox/koha/opac/opac-search.pl line 613
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list