From 1b23f21d322785a82f0c83dfac0b1893a52fae8d 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 --- 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 71d2be2..65cf43d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -465,7 +465,7 @@ $(document).ready(function() { title += ""; if ( oObj.author ) { - title += " " + BY + " " + oObj.author; + title += " " + BY.replace( "_AUTHOR_", " " + oObj.author ); } if ( oObj.itemnotes ) { -- 1.7.10.4