Bugzilla – Attachment 87322 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.09 KB, created by
Owen Leonard
on 2019-04-02 13:13:59 UTC
(
hide
)
Description:
Bug 22620: OPAC description for CCODE in opac-reserve.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-04-02 13:13:59 UTC
Size:
2.09 KB
patch
obsolete
>From 25c2c66d7ae290ba3bd28f03642d048920c256c4 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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 75d206f..d643c80 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.1.4
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