From de9829fe425676451be0aef2a0821b26c6fc72ae 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 Signed-off-by: Jonathan Druart (cherry picked from commit ee6c4548ad27c3efd4c78956e70336baffb994b0) Signed-off-by: Fridolin Somers (cherry picked from commit 44e986d6728e7f93618241ae28f12b11ae59faf0) Signed-off-by: Andrew Fuerste-Henry --- 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 1b15c5766a..d3ed7a213b 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -906,6 +906,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 e1971ef9bf..9cb096319f 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.39.5