Bugzilla – Attachment 110791 Details for
Bug 26323
Not_for_loan, damaged, location and ccode values must be retrieved from the correct AV category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26323: (follow-up) Add new cases introduced
Bug-26323-follow-up-Add-new-cases-introduced.patch (text/plain), 4.36 KB, created by
Katrin Fischer
on 2020-09-26 18:27:56 UTC
(
hide
)
Description:
Bug 26323: (follow-up) Add new cases introduced
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-26 18:27:56 UTC
Size:
4.36 KB
patch
obsolete
>From 1782e2e82e1c3bccf22e817ff382cd93d81d3c9b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 25 Sep 2020 16:53:52 +0100 >Subject: [PATCH] Bug 26323: (follow-up) Add new cases introduced > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 2 +- > .../prog/en/modules/course_reserves/course-details.tt | 10 +++++----- > 2 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >index 2a31499d7c..c9ba832d7b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt >@@ -127,7 +127,7 @@ > [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %] > <li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li> > [% ELSE %] >- <li>Collection: <strong>[% AuthorisedValues.GetByCode( 'CCODE', errmsgloo.code ) | html %]</strong></li> >+ <li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', errmsgloo.code ) | html %]</strong></li> > [% END %] > <li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li> > <li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >index 7e0b054387..32b33b6ba4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt >@@ -125,20 +125,20 @@ > <td> > [% IF cr.course_item.ccode_enabled %] > [% IF cr.course_item.enabled == 'yes' %] >- <strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong> >+ <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorized_value => cr.item.ccode ) | html %]</strong> > [% IF cr.item.ccode %] >- ([% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode_storage ) | html %]) >+ ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', cr.course_item.ccode_storage ) | html %]) > [% END %] > [% ELSE %] >- [% AuthorisedValues.GetByCode( 'CCODE', cr.course_item.ccode ) | html %] >+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', cr.course_item.ccode ) | html %] > [% IF cr.item.ccode %] >- (<strong>[% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]</strong>) >+ (<strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', cr.item.ccode ) | html %]</strong>) > [% END %] > [% END %] > [% ELSE %] > <em>Unchanged</em> > [% IF cr.item.ccode %] >- ([% AuthorisedValues.GetByCode( 'CCODE', cr.item.ccode ) | html %]) >+ ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', cr.item.ccode ) | html %]) > [% END %] > [% END %] > </td> >-- >2.11.0
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 26323
:
109627
|
109628
|
109693
|
110767
|
110768
|
110769
|
110789
|
110790
| 110791 |
110792