From 0ed3d4b36e137fec39f6917e7bcb1eaf493e4502 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 21 Jan 2015 10:22:19 +0100 Subject: [PATCH] [PASSED QA] 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. --- 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.9.1