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 <brendan@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, fixes the problem.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Fridolin Somers 2015-01-21 10:22:19 +01:00 committed by Tomas Cohen Arazi
parent 54fa602524
commit ce2ea3e809
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ $(document).ready(function() {
title += "</a></span>";
if ( oObj.author ) {
title += " " + BY + " " + oObj.author;
title += " " + BY.replace( "_AUTHOR_", " " + oObj.author );
}
if ( oObj.itemnotes ) {