Bug 27306: Add subtitle to return-claims-table

To test:
-turn on claim returned
-find some items with a 245b or add a 245b to some items
-check those items out and mark them as claimed returned
-on the borrowers /cgi-bin/koha/circ/circulation.pl page look at the return-claims-table
-no subtitle
-apply patch and clear browser cache, restart_all
-now you should see the subtitle

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Lucas Gass 2020-12-23 20:47:32 +00:00 committed by Jonathan Druart
parent 371a9d1c2a
commit ee6c4548ad
2 changed files with 2 additions and 0 deletions

View File

@ -943,6 +943,7 @@ $(document).ready(function() {
"mDataProp": function ( oObj ) {
let title = '<a class="return-claim-title strong" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' + oObj.biblionumber + '">'
+ oObj.title
+ ( oObj.subtitle ? oObj.subtitle : "" )
+ ( oObj.enumchron || "" )
+ '</a>';
if ( oObj.author ) {

View File

@ -73,6 +73,7 @@ my $sql = qq{
biblio.biblionumber,
biblio.title,
biblio.subtitle,
biblio.author,
items.enumchron,