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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |29374
           Keywords|additional_work_needed      |

--- Comment #67 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #66)
> +            $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

See bug 29374


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29374
[Bug 29374] searchResults explodes if biblio record has been deleted
-- 
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