Bug 30282: overdues report does not display subtitle, part_name, part_number
authorBlou <blou@inlibro.com>
Fri, 11 Mar 2022 20:54:51 +0000 (15:54 -0500)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Mar 2022 14:36:19 +0000 (10:36 -0400)
commit604d151b113707c61f2ed963b129425041bb3cc8
tree870234b174b520643cc822486deee5da386319af
parent9dbb64e040e28e9acfbc4d31b3fe91097d1b0fc7
Bug 30282: overdues report does not display subtitle, part_name, part_number

In circ/overdue.pl, the Title column is the result of includes/biblio-title.inc display.  The code of biblio-title.inc means to display subtitle, part_number and part_name from biblio table, but nothing but commas show up because those fields are never retrieved by overdue.pl

To reproduce:
1) have an item whose biblio.subtitle, part_name and part_number and non-empty.
2) issue it, then set it late (overdue).
3) go to the report page (circ/overdue.pl) and make it appear.
4) subtitle, part_number and part_name do not appear, although they are meant to by biblio-title.inc code
5) apply the patch and try again.

It's a simple fix of adding the fields in the database query.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
circ/overdue.pl