From 1a2003b26808016c6cde63c37bd950f5dd4592b0 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 21 Jan 2015 10:22:19 +0100 Subject: [PATCH] Bug 13605 - _AUTHOR_ not replaced in relatives checkouts In members/moremember.pl, in relatives checkouts tab, "by _AUTHOR_" appears before author. This code sould be replaced in JS. Test plan : - Go to a borrower with relative's checkouts => without patch : you see "by _AUTHOR_" string before author name => with patch : you see "by" string before author name Signed-off-by: Brendan Gallagher Signed-off-by: Katrin Fischer Works as described, fixes the problem. Signed-off-by: Mason James --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js index bcc159d194..2392fcab62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -417,7 +417,7 @@ $(document).ready(function() { title += ""; if ( oObj.author ) { - title += " " + BY + " " + oObj.author; + title += " " + BY.replace( "_AUTHOR_", " " + oObj.author ); } if ( oObj.itemnotes ) { -- 2.39.5