Bugzilla – Attachment 13909 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]
Proposed patch
0001-Bug-9229-branch-code-instead-of-name-in-subscription.patch (text/plain), 2.46 KB, created by
Fridolin Somers
on 2012-12-06 15:50:11 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-12-06 15:50:11 UTC
Size:
2.46 KB
patch
obsolete
>From 3b2bc4b649332465dbb701424ba47ece4b688cc4 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 > >--- > .../prog/en/modules/serials/subscription-detail.tt | 2 +- > serials/subscription-detail.pl | 2 ++ > 2 files changed, 3 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 949b946..3aba947 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.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 9229
:
13909
|
14136
|
14137
|
14165
|
14674