From b5aa671c7ae9c29f739415e717c6196299246b53 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 Signed-off-by: Katrin Fischer --- 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 91c015ebcb..88e0aedcfa 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -943,6 +943,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.20.1