From 0c1c8d6867ad86bfabd2bb82b8e8d1c858b3c59c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 23 Dec 2020 20:47:32 +0000 Subject: [PATCH] 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 --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 1 + svc/return_claims | 1 + 2 files changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index cc8ab8ffce..40eb2a8852 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -960,6 +960,7 @@ $(document).ready(function() { "mDataProp": function ( oObj ) { let title = '' + oObj.title + + ( oObj.subtitle ? oObj.subtitle : "" ) + ( oObj.enumchron || "" ) + ''; if ( oObj.author ) { diff --git a/svc/return_claims b/svc/return_claims index a37ac217c7..e5ed56ea43 100755 --- a/svc/return_claims +++ b/svc/return_claims @@ -73,6 +73,7 @@ my $sql = qq{ biblio.biblionumber, biblio.title, + biblio.subtitle, biblio.author, items.enumchron, -- 2.11.0