Bugzilla – Attachment 8032 Details for
Bug 7654
Add location at opac subscription view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add location an callnumber at opac subscription view
0001-Add-location-and-callnumber-at-OPAC-subscription-vie.patch (text/plain), 2.21 KB, created by
Koha Team University Lyon 3
on 2012-03-06 12:42:24 UTC
(
hide
)
Description:
Add location an callnumber at opac subscription view
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2012-03-06 12:42:24 UTC
Size:
2.21 KB
patch
obsolete
>From cb414b27ef4b737f8d0bad914af3b6cdaf4ff9d5 Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Mon, 19 Dec 2011 18:32:31 +0100 >Subject: [PATCH] Add location and callnumber at OPAC subscription view > >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 ++ > opac/opac-detail.pl | 3 +++ > 2 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 6713340..cabf4f0 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -776,6 +776,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > <h3><br> > [% IF ( subscription.branchname ) %][% subscription.branchname %][% ELSE %] > [% IF ( subscription.branchcode ) %][% subscription.branchcode %][% END %][% END %] >+ [% IF ( subscription.location_description ) %], [% subscription.location_description %][% ELSE %], [% subscription.location %][% END %] >+ [% IF ( subscription.callnumber ) %], [% subscription.callnumber %][% END %] > </h3> > [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes %] </p>[% END %] > <!--<p>Subscription from: [% subscription.histstartdate %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate %] [% ELSE %] now (current)[% END %]</p>--> >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 8949444..5769480 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -444,6 +444,9 @@ foreach my $subscription (@subscriptions) { > $cell{histenddate} = format_date($subscription->{histenddate}); > $cell{branchcode} = $subscription->{branchcode}; > $cell{branchname} = GetBranchName($subscription->{branchcode}); >+ $cell{location} = $subscription->{location}; >+ $cell{location_description} = $shelflocations->{ $subscription->{'location'} }; >+ $cell{callnumber} = $subscription->{callnumber}; > $cell{hasalert} = $subscription->{hasalert}; > #get the three latest serials. > $serials_to_display = $subscription->{opacdisplaycount}; >-- >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 7654
:
8032
|
8200
|
8306
|
14681
|
16677
|
16678
|
58869