From 67be30c822ade9fd64500ee62c751df1d64dcf4a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 14 Dec 2012 11:09:08 -0500 Subject: [PATCH] Bug 9229 - branch code instead of name in subscription-detail.pl This patch corrects the problem by using the KohaBranchName plugin. Test plan: Go in a subscription detail page. Check that the "Library" information is changed from the branchcode to the branchname Signed-off-by: Fridolyn SOMERS Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/serials/subscription-detail.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 949b946d1f..319285f242 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -1,3 +1,4 @@ +[% USE KohaBranchName %] [% INCLUDE 'doc-head-open.inc' %] Koha › Serials › Details for subscription #[% subscriptionid %] [% INCLUDE 'doc-head-close.inc' %] @@ -101,7 +102,7 @@ $(document).ready(function() {
  • Librarian identity: [% librarian %]
  • Vendor: [% aqbooksellername %]
  • Biblio: [% bibliotitle %] ([% bibnum %])
  • -[% IF ( branchcode ) %]
  • Library: [% branchcode %]
  • [% END %] +[% IF ( branchcode ) %]
  • Library: [% branchcode | $KohaBranchName %]
  • [% END %] [% IF ( serialsadditems ) %]
  • Items: Serial receipt creates an item record.
  • [% ELSE %] -- 2.39.5