Bugzilla – Attachment 20023 Details for
Bug 10609
Use branch name rather than branch code in serials-collection.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10609 - Use branch name rather than branch code in serials-collection.pl
PASSED-QA-Bug-10609---Use-branch-name-rather-than-.patch (text/plain), 2.69 KB, created by
Katrin Fischer
on 2013-07-31 21:11:14 UTC
(
hide
)
Description:
[PASSED QA] Bug 10609 - Use branch name rather than branch code in serials-collection.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-07-31 21:11:14 UTC
Size:
2.69 KB
patch
obsolete
>From 4661cbb65f45d754a0e3fe5247debf9d1bb7885e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 19 Jul 2013 12:39:18 -0400 >Subject: [PATCH] [PASSED QA] Bug 10609 - Use branch name rather than branch > code in serials-collection.pl > >The serials collection page displays branchcode instead of library name. >This patch uses the Branches template plugin to display the library name >instead. > >Also corrected: Added missing datatables config include to prevent a >JavaScript error. > >To test, view the serials collection page for a subsciption with >existing issues. Library names should be displayed instead of >branchcodes. There should be no JavaScript errors reported by the >browser. > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works well and uses the new TT plugin for displaying the branch name. >--- > .../prog/en/modules/serials/serials-collection.tt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >index b833795..3efe36d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt >@@ -1,8 +1,10 @@ >+[% USE Branches %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Serials › Serial collection information for [% bibliotitle %]</title> > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > >@@ -175,7 +177,7 @@ $(document).ready(function() { > [% IF ( subscription.numberpattern7 ) %] > None of the above > [% END %]</td> >- <td> [% subscription.branchcode %]</td> >+ <td>[% Branches.GetName( subscription.branchcode ) %]</td> > <td> [% subscription.callnumber %]</td> > <td> [% subscription.notes %] > [% UNLESS subscription.closed %] >@@ -311,7 +313,7 @@ $(document).ready(function() { > [% serial.notes %] > </td> > <td> >- [% serial.branchcode %] >+ [% Branches.GetName( serial.branchcode ) %] > </td> > [% IF ( routing ) %] > <td> >-- >1.7.9.5
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 10609
:
19803
|
19966
|
20023
|
20707
|
21580
|
21837