Bugzilla – Attachment 14136 Details for
Bug 9229
branch code instead of name in subscription-detail.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9229: branch code instead of name in subscription-detail.pl
Bug-9229-branch-code-instead-of-name-in-subscripti.patch (text/plain), 2.51 KB, created by
Kyle M Hall (khall)
on 2012-12-14 16:06:11 UTC
(
hide
)
Description:
Bug 9229: branch code instead of name in subscription-detail.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-12-14 16:06:11 UTC
Size:
2.51 KB
patch
obsolete
>From 23bd8cfeec9cae2c7ccbfdbc3a317642bbc8d20c Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 6 Dec 2012 16:35:21 +0100 >Subject: [PATCH] Bug 9229: branch code instead of name in subscription-detail.pl > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/serials/subscription-detail.tt | 2 +- > serials/subscription-detail.pl | 2 ++ > 2 files changed, 3 insertions(+), 1 deletions(-) > >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 d71a8bb..5acc581 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 >@@ -101,7 +101,7 @@ $(document).ready(function() { > <li><span class="label">Librarian identity:</span> [% librarian %]</li> > <li><span class="label">Vendor:</span> <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% aqbooksellerid %]">[% aqbooksellername %]</a></li> > <li><span class="label">Biblio:</span> <a href="/cgi-bin/koha/catalogue/[% default_bib_view %].pl?biblionumber=[% bibnum %]">[% bibliotitle %]</a> <i>([% bibnum %])</i></li> >-[% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchcode %]</li>[% END %] >+ [% IF ( branchcode ) %]<li><span class="label">Library:</span> [% branchname %]</li>[% END %] > [% IF ( serialsadditems ) %] > <li><span class="label">Items:</span> Serial receipt creates an item record.</li> > [% ELSE %] >diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl >index 009360b..c995ce3 100755 >--- a/serials/subscription-detail.pl >+++ b/serials/subscription-detail.pl >@@ -24,6 +24,7 @@ use C4::Dates qw/format_date/; > use C4::Serials; > use C4::Output; > use C4::Context; >+use C4::Branch; > use C4::Search qw/enabled_staff_search_views/; > use Date::Calc qw/Today Day_of_Year Week_of_Year Add_Delta_Days/; > use Carp; >@@ -112,6 +113,7 @@ for my $date ( qw(startdate enddate firstacquidate histstartdate histenddate) ) > } > $subs->{location} = GetKohaAuthorisedValueLib("LOC",$subs->{location}); > $subs->{abouttoexpire} = abouttoexpire($subs->{subscriptionid}); >+$subs->{branchname} = GetBranchName($subs->{branchcode}) if defined $subs->{branchcode}; > $template->param(%{ $subs }); > $template->param(biblionumber_for_new_subscription => $subs->{bibnum}); > my @irregular_issues = split /,/, $subs->{irregularity}; >-- >1.7.2.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 9229
:
13909
|
14136
|
14137
|
14165
|
14674