Bugzilla – Attachment 35431 Details for
Bug 13605
_AUTHOR_ not replaced in relatives checkouts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13605 - _AUTHOR_ not replaced in relatives checkouts
Bug-13605---AUTHOR-not-replaced-in-relatives-check.patch (text/plain), 1.29 KB, created by
Fridolin Somers
on 2015-01-21 09:40:13 UTC
(
hide
)
Description:
Bug 13605 - _AUTHOR_ not replaced in relatives checkouts
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2015-01-21 09:40:13 UTC
Size:
1.29 KB
patch
obsolete
>From a5bec70b142c71d2094a164ad906c4c92507e4ce Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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 >--- > 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 += "</a></span>"; > > if ( oObj.author ) { >- title += " " + BY + " " + oObj.author; >+ title += " " + BY.replace( "_AUTHOR_", " " + oObj.author ); > } > > if ( oObj.itemnotes ) { >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13605
:
35431
|
36151
|
36377