Bug 40287: (follow-up) Use GetDescriptionByKohaField for item fields
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
676b220687
commit
ed2556e7f3
|
|
@ -74,8 +74,8 @@
|
|||
<strong>Home library: </strong>
|
||||
[% Branches.GetName( loopfilte.filter ) | html %]
|
||||
[% CASE '6' %]
|
||||
<strong>Collection: </strong>
|
||||
[% AuthorisedValues.GetByCode( 'CCODE', loopfilte.filter ) | html %]
|
||||
<strong>Collection:</strong>
|
||||
[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE '7' %]
|
||||
<strong>Item type: </strong>
|
||||
[% ItemTypes.GetDescription( loopfilte.filter ) | html %]
|
||||
|
|
|
|||
|
|
@ -68,11 +68,11 @@
|
|||
[% CASE "Library" %]
|
||||
<strong>Library:</strong> [% Branches.GetName( loopfilte.filter ) | html %]
|
||||
[% CASE "Shelving Location" %]
|
||||
<strong>Location:</strong> [% AuthorisedValues.GetByCode( 'LOC', loopfilte.filter ) | html %]
|
||||
<strong>Location:</strong> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE "Collection Code" %]
|
||||
<strong>Collection:</strong> [% AuthorisedValues.GetByCode( 'CCODE', loopfilte.filter ) | html %]
|
||||
<strong>Collection:</strong> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE "Status" %]
|
||||
<strong>Not for loan:</strong> [% AuthorisedValues.GetByCode( 'NOT_LOAN', loopfilte.filter ) | html %]
|
||||
<strong>Not for loan:</strong> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE "Materials" %]
|
||||
<strong>Materials specified:</strong> [% loopfilte.filter | html %]
|
||||
[% CASE "Barcode (not like)" %]
|
||||
|
|
|
|||
|
|
@ -82,9 +82,9 @@
|
|||
[% CASE 4 %]
|
||||
<strong>Issuing library:</strong> [% Branches.GetName( loopfilte.filter ) | html %]
|
||||
[% CASE 5 %]
|
||||
<strong>Collection:</strong> [% AuthorisedValues.GetByCode( 'CCODE', loopfilte.filter ) | html %]
|
||||
<strong>Collection:</strong> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE 6 %]
|
||||
<strong>Location:</strong> [% AuthorisedValues.GetByCode( 'LOC', loopfilte.filter ) | html %]
|
||||
<strong>Location:</strong> [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => loopfilte.filter ) %]
|
||||
[% CASE 7 %]
|
||||
<strong>Item call number > [% loopfilte.filter | html %] </strong>
|
||||
[% CASE 8 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue