Bugzilla – Attachment 48275 Details for
Bug 15671
Show branch name instead of branch code in checkout history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15671 - Show branch name instead of branch code in checkout history
Bug-15671---Show-branch-name-instead-of-branch-cod.patch (text/plain), 1.92 KB, created by
Jonathan Druart
on 2016-02-22 11:14:56 UTC
(
hide
)
Description:
Bug 15671 - Show branch name instead of branch code in checkout history
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-22 11:14:56 UTC
Size:
1.92 KB
patch
obsolete
>From d13fef7ad6f3df94fedcf0c1460b8c8e33b95664 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 17 Feb 2016 18:27:11 -0500 >Subject: [PATCH] Bug 15671 - Show branch name instead of branch code in > checkout history >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >When viewing the checkout history for a title the branchcode is >displayed. This patch alters the template to show the library name >instead. > >To test, apply the patch and locate a title in the staff client which >has been checked out at least once. From the detail page, click >"Checkout history" in the sidebar. The "Checked out from" column of the >checkout history table should show the library name instead of the >branchcode. > >Works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >index 89531f4..baf80f4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >@@ -1,5 +1,6 @@ > [% USE Koha %] > [% USE KohaDates %] >+[% USE Branches %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Catalog › Checkout history for [% title |html %]</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -60,7 +61,7 @@ $(document).ready(function() { > > [% END %]</td> > <td>[% IF ( issue.branchcode ) %] >- [% issue.branchcode %] >+ [% Branches.GetName( issue.branchcode ) %] > [% ELSE %] > > [% END %]</td> >-- >2.7.0
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 15671
:
48199
|
48221
| 48275