Bugzilla – Attachment 8356 Details for
Bug 7753
when displaying serials, library name should be showed and not code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch #1
0001-Bug-7753-serials-home-displays-library-name-instead-.patch (text/plain), 1.87 KB, created by
Adrien SAURAT
on 2012-03-20 13:47:40 UTC
(
hide
)
Description:
proposed patch #1
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2012-03-20 13:47:40 UTC
Size:
1.87 KB
patch
obsolete
>From ec032cefa8b0ae2fbc938c24fba9281d3adc0fc0 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Tue, 20 Mar 2012 14:42:21 +0100 >Subject: [PATCH] Bug 7753: serials-home displays library name instead of code > >--- > .../prog/en/modules/serials/serials-home.tt | 2 +- > serials/serials-home.pl | 2 ++ > 2 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >index bb0f9d3..b4adea2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >@@ -117,7 +117,7 @@ Serials updated : > [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %] > </td> > <td> >- [% IF ( subscription.branchcode ) %][% subscription.branchcode %][% END %] >+ [% IF ( subscription.branchname ) %][% subscription.branchname %][% END %] > [% IF ( subscription.callnumber ) %]([% subscription.callnumber %])[% END %] > </td> > [% IF ( routing && CAN_user_serials_routing ) %] >diff --git a/serials/serials-home.pl b/serials/serials-home.pl >index 8a82df7..031e361 100755 >--- a/serials/serials-home.pl >+++ b/serials/serials-home.pl >@@ -47,6 +47,7 @@ use C4::Auth; > use C4::Serials; > use C4::Output; > use C4::Context; >+use C4::Branch; > > my $query = new CGI; > my $title = $query->param('title_filter'); >@@ -99,6 +100,7 @@ if ($searched){ > if ($routing) { > for my $subscription ( @subscriptions) { > $subscription->{routingedit} = check_routing( $subscription->{subscriptionid} ); >+ $subscription->{branchname} = GetBranchName ( $subscription->{branchcode} ); > } > } > >-- >1.7.4.1 >
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 7753
: 8356