After creating an instance, and without adding any records to the library, trying to search for anything on OPAC, produces the following error: Can't call method "get_coins" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 692.
I've seen this happening as well.
Created attachment 95251 [details] [review] Bug 23785: Fix call get_coins on undef value in opac-search.pl If the search engine index returns a record that is no longer in the DB, an OPAC search will explode with: Can't call method "get_coins" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 692.
Created attachment 96083 [details] [review] Bug 23785: Fix call get_coins on undef value in opac-search.pl If the search engine index returns a record that is no longer in the DB, an OPAC search will explode with: Can't call method "get_coins" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 692. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Straight thru QA
Nice work everyone! Pushed to master for 20.05
Pushed to 19.11.01
backported to 19.05.x for 19.05.06