Bugzilla – Attachment 87306 Details for
Bug 22620
OPAC description for collection in opac-reserve.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22620: OPAC description for CCODE in opac-reserve.tt
Bug-22620-OPAC-description-for-CCODE-in-opac-reser.patch (text/plain), 2.04 KB, created by
Fridolin Somers
on 2019-04-02 08:01:15 UTC
(
hide
)
Description:
Bug 22620: OPAC description for CCODE in opac-reserve.tt
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2019-04-02 08:01:15 UTC
Size:
2.04 KB
patch
obsolete
>From 00a6995c2eda4b8ecae568517b766dddc66a459f Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 2 Apr 2019 09:57:35 +0200 >Subject: [PATCH] Bug 22620: OPAC description for CCODE in opac-reserve.tt > >Bug 20450 added CCODE to opac-reserve.tt using AuthorisedValues TT plugin. > >This patch changes the plugin call so that it requests OPAC description. > >Test plan : >1) Define a CCODE with staff and OPAC descriptions >2) Apply this collection on an item >3) At OPAC, place an hold on this item >4) Verify the collection display correctly OPAC description and not staff description >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 75d206f231..d643c80f9a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -382,7 +382,7 @@ > <td class="holdingbranch">[% Branches.GetName( itemLoo.holdingBranchName ) | html %]</td> > [% END %] > [% IF ( itemdata_ccode ) %] >- <td class="ccode"> [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode ) | html %][% END %]</td> >+ <td class="ccode"> [% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemLoo.ccode, 1 ) | html %][% END %]</td> > [% END %] > <td class="call_no">[% itemLoo.callNumber | html %]</td> > [% IF ( itemdata_enumchron ) %] >-- >2.17.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 22620
:
87306
|
87322
|
87330