Bug 1963 Problem with deleted biblio in a virtual shelf
authorFrédéric Demians <f.demians@tamil.fr>
Fri, 5 Oct 2012 08:45:18 +0000 (10:45 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 17 Oct 2012 16:06:21 +0000 (18:06 +0200)
commit32fab74b980b00cdc7020b44e274b95619dc9166
tree48da63ef04a1504140d67ae5e965d9579b0d1009
parent1fd99527bd947a6d2d86822fb9fd964fc35cc582
Bug 1963 Problem with deleted biblio in a virtual shelf

This bug reappear in HEAD/3.8. When trying to display a virtual shelf
(list) containing a deleted biblio, this error message is displayed:

Software error:

Can't call method "field" on an undefined value at ....C4/Koha.pm line
1231.

This fix modify SQL query retrieving biblios, just skipping records from
virtual shelf table with no linked record in biblio table: LEFT JOIN
replace with JOIN.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/VirtualShelves.pm