@@ -, +, @@
and CCODE
---
.../en/includes/catalogue/itemsearch_item.csv.inc | 2 +-
.../en/includes/catalogue/itemsearch_item.json.inc | 6 +++---
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 2 +-
.../intranet-tmpl/prog/en/includes/waiting_holds.inc | 2 +-
.../prog/en/modules/catalogue/detail.tt | 2 +-
.../prog/en/modules/catalogue/results.tt | 6 +++---
.../prog/en/modules/circ/article-requests.tt | 8 ++++----
.../prog/en/modules/circ/branchtransfers.tt | 4 ++--
.../prog/en/modules/circ/on-site_checkouts.tt | 2 +-
.../prog/en/modules/circ/pendingreserves.tt | 2 +-
.../prog/en/modules/circ/reserveratios.tt | 2 +-
.../intranet-tmpl/prog/en/modules/circ/returns.tt | 12 +++++++-----
.../prog/en/modules/circ/view_holdsqueue.tt | 4 ++--
.../prog/en/modules/reports/itemslost.tt | 4 ++--
.../intranet-tmpl/prog/en/modules/reserve/request.tt | 8 ++++----
.../prog/en/modules/serials/serials-search.tt | 2 +-
.../en/modules/serials/subscription-batchedit.tt | 2 +-
.../opac-tmpl/bootstrap/en/includes/item-status.inc | 6 +++---
.../opac-tmpl/bootstrap/en/includes/opac-facets.inc | 2 +-
.../bootstrap/en/modules/opac-course-details.tt | 4 ++--
.../opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +-
21 files changed, 43 insertions(+), 41 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc
@@ -4,4 +4,4 @@
[%- USE AuthorisedValues -%]
[%- SET biblio = item.biblio -%]
[%- SET biblioitem = item.biblioitem -%]
-"[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", "[% item.stocknumber | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]","[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) || "" | html %]","[% AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn ) || "" | html %]", "[% (item.issues || 0) | html %]"
+"[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", "[% item.stocknumber | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]", "[% (item.issues || 0) | html %]"
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc
@@ -14,7 +14,7 @@
[%~ END %]",
"[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]",
"[% biblioitem.publishercode | html | $To %]",
- "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]",
+ "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]",
"[% FILTER escape_quotes ~%]
[% item.barcode | html %]
[%~ END %]",
@@ -25,8 +25,8 @@
"[% ItemTypes.GetDescription(item.itype) | html %]",
"[% item.stocknumber | html %]",
"[% AuthorisedValues.GetDescriptionByKohaField( frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]",
- "[% AuthorisedValues.GetByCode( 'LOST', item.itemlost ) || "" | html %]",
- "[% AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn ) || "" | html %]",
+ "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]",
+ "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]",
"[% (item.issues || 0) | html %]",
"[% FILTER escape_quotes ~%]
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
@@ -39,7 +39,7 @@
[% Branches.GetName( reserveloo.item.homebranch ) | html %] |
[% Branches.GetName( reserveloo.item.holdingbranch ) | html %] |
- [% AuthorisedValues.GetByCode('LOC', reserveloo.item.location) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => reserveloo.item.location) | html %] |
[% reserveloo.item.itemcallnumber | html %] |
[% reserveloo.item.copynumber | html %] |
[% reserveloo.item.enumchron | html %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -630,7 +630,7 @@ Note that permanent location is a code, and location may be an authval.
At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]
[% END %]
[% IF ( subscription.closed ) %]This subscription is closed.
[% END %]
- [% IF ( subscription.location ) %]Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %]
[% END %]
+ [% IF ( subscription.location ) %]Location: [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %]
[% END %]
[% IF ( subscription.callnumber ) %]Callnumber: [% subscription.callnumber | html %]
[% END %]
[% IF ( subscription.subscriptionnotes ) %][% subscription.subscriptionnotes | html | html_line_break %]
[% END %]
[% IF ( subscription.missinglist ) %]Missing issues: [% subscription.missinglist | html %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -611,13 +611,13 @@
[[% other_items_loo.itemcallnumber | html %]]
[% END %]
[% IF ( other_items_loo.withdrawn ) %]
- ([% AuthorisedValues.GetByCode( 'WITHDRAWN', other_items_loo.withdrawn ) | html %])
+ ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => other_items_loo.withdrawn ) | html %])
[% END %]
[% IF ( other_items_loo.itemlost ) %]
- ([% AuthorisedValues.GetByCode( 'LOST', other_items_loo.itemlost ) | html %])
+ ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => other_items_loo.itemlost ) | html %])
[% END %]
[% IF ( other_items_loo.damaged ) %]
- ([% AuthorisedValues.GetByCode( 'DAMAGED', other_items_loo.damaged ) | html %])
+ ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => other_items_loo.damaged ) | html %])
[% END %]
[% IF ( other_items_loo.intransit ) %]
(In transit)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
@@ -175,11 +175,11 @@
[% IF ar.chapters %] Chapters: [% ar.chapters | html %]
[% END %]
[% IF ar.patron_notes %] Patron notes: [% ar.patron_notes | html %]
[% END %]
- [% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ar.item.ccode ) | html %] |
[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %] |
[% IF ar.item.location %]
- [% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ar.item.location ) | html %]
[% END %]
[% ar.item.itemcallnumber | html %]
@@ -282,11 +282,11 @@
[% IF ar.chapters %] Chapters: [% ar.chapters | html %] [% END %]
[% IF ar.patron_notes %] Patron notes: [% ar.patron_notes | html %] [% END %]
|
- [% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => ar.item.ccode ) | html %] |
[% ItemTypes.GetDescription( ar.item.effective_itemtype ) | html %] |
[% IF ar.item.location %]
- [% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ar.item.location ) | html %]
[% END %]
[% ar.item.itemcallnumber | html %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
@@ -203,10 +203,10 @@
|
[% trsfitemloo.item.biblio.author | html %] |
[% trsfitemloo.item.barcode | html %] |
- [% AuthorisedValues.GetByCode( 'LOC', trsfitemloo.item.location ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %] |
[% trsfitemloo.item.itemcallnumber | html %] |
[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %] |
- [% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.item.ccode ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %] |
[% Branches.GetName( trsfitemloo.frombrcd ) | html %] |
[% Branches.GetName( trsfitemloo.tobrcd ) | html %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt
@@ -55,7 +55,7 @@
[% item.barcode | html %]
[% Branches.GetName(item.branchcode) | html %] |
- [% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] |
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
@@ -141,7 +141,7 @@
[% FOREACH loc IN reserveloo.locations %]
- [% AuthorisedValues.GetByCode('LOC', loc) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => loc) | html %]
[% END %]
|
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt
@@ -76,7 +76,7 @@
|
[% FOREACH location IN reserveloo.location %]
- - [% AuthorisedValues.GetByCode( 'LOC', location ) | html %]
+ - [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => location ) | html %]
[% END %]
|
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
@@ -214,24 +214,26 @@
Item shelving location updated.
Old value:
[% IF errmsgloo.ItemLocationUpdated.from %]
+ [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.from ) %]
[% IF errmsgloo.ItemLocationUpdated.from == '' %]
empty
- [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) == '' %]
+ [% ELSIF av_description == '' %]
[% errmsgloo.ItemLocationUpdated.from | html %] (No description available)
[% ELSE %]
- [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.from ) | html %]
+ [% av_description | html %]
[% END %]
[% ELSE %]
"Blank"
[% END %]
New value:
[% IF errmsgloo.ItemLocationUpdated.to %]
+ [% SET av_description = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => errmsgloo.ItemLocationUpdated.to ) %]
[% IF errmsgloo.ItemLocationUpdated.to == '' %]
empty
- [% ELSIF AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) == '' %]
+ [% ELSIF av_description == '' %]
[% errmsgloo.ItemLocationUpdated.to | html %] (Not an authorized value)
[% ELSE %]
- [% AuthorisedValues.GetByCode( 'LOC', errmsgloo.ItemLocationUpdated.to ) | html %]
+ [% av_description | html %]
[% END %]
[% ELSE %]
"Blank"
@@ -848,7 +850,7 @@
[% ItemTypes.GetDescription( riloo.itemtype ) | html %]
- [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => riloo.ccode) | html %]
|
[% IF ( riloo.duedate ) %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt
@@ -149,9 +149,9 @@
|
- [% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemsloo.ccode ) | html %] |
[% ItemTypes.GetDescription( itemsloo.itype ) | html %] |
- [% IF ( itemsloo.location ) %][% AuthorisedValues.GetByCode( 'LOC', itemsloo.location ) | html %] [% END %][% itemsloo.itemcallnumber | html %] |
+ [% IF ( itemsloo.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => 'itemsloo.location ) | html %] [% END %][% itemsloo.itemcallnumber | html %] |
[% itemsloo.copynumber | html %] |
[% itemsloo.enumchron | html %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt
@@ -105,9 +105,9 @@
| [% item.replacementprice | $Price %] |
[% Branches.GetName(item.homebranch) | html %] |
[% ItemTypes.GetDescription(item.effective_itemtype) | html %] |
- [% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %] |
[% Branches.GetName(item.holdingbranch) | html %] |
- [% AuthorisedValues.GetByCode( 'LOC', item.location ) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %] |
[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]
| [% item.itemnotes | $raw %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
@@ -609,7 +609,7 @@
[% IF itemdata_ccode %]
- [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetByCode( 'CCODE', itemloo.ccode ) | html %][% END %]
+ [% IF ( itemloo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemloo.ccode ) | html %][% END %]
|
[% END %]
@@ -665,15 +665,15 @@
[% END %]
[% IF ( itemloo.itemlost ) %]
- [% AuthorisedValues.GetByCode( 'LOST', itemloo.itemlost ) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => itemloo.itemlost ) | html %]
[% END %]
[% IF ( itemloo.damaged ) %]
- [% AuthorisedValues.GetByCode( 'DAMAGED', itemloo.damaged ) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => itemloo.damaged ) | html %]
[% END %]
[% IF ( itemloo.withdrawn ) %]
- [% AuthorisedValues.GetByCode( 'WITHDRAWN', itemloo.withdrawn ) | html %]
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => itemloo.withdrawn ) | html %]
[% END %]
[% IF ( itemloo.notforloan ) %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
@@ -109,7 +109,7 @@
[% IF ( subscription.branchcode ) %][% Branches.GetName( subscription.branchcode ) | html %][% END %]
|
- [% IF ( subscription.location ) %][% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %][% END %]
+ [% IF ( subscription.location ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %][% END %]
|
[% IF ( subscription.callnumber ) %][% subscription.callnumber | html %][% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt
@@ -50,7 +50,7 @@
| [% subscription.biblio.biblioitem.issn | html %] |
[% subscription.biblio.title | html %] (#[% subscription.subscriptionid | html %]) |
[% subscription.vendor.name | html %] |
- [% AuthorisedValues.GetByCode('LOC', subscription.location) | html %] |
+ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => subscription.location ) | html %] |
[% Branches.GetName(subscription.branchcode) | html %] |
[% ItemTypes.GetDescription( subscription.itemtype ) | html %] |
[% subscription.notes | html %] |
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc
@@ -8,7 +8,7 @@
[% IF ( item.itemlost ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
+ [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost, opac => 1 ) %]
[% IF ( av_lib_include ) %]
[% av_lib_include | html %]
[% ELSE %]
@@ -53,7 +53,7 @@
[% IF ( item.withdrawn ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) %]
+ [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn, opac => 1 ) %]
[% IF av_lib_include %]
[% av_lib_include | html %]
[% ELSE %]
@@ -76,7 +76,7 @@
[% IF ( item.damaged ) %]
[% SET itemavailable = 0 %]
- [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
+ [% av_lib_include = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.damaged', authorised_value => item.damaged, opac => 1 ) %]
[% IF av_lib_include %]
[% av_lib_include | html %]
[% ELSE %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc
@@ -43,7 +43,7 @@
[% url = BLOCK %][% url | $raw %][% "&count=" _ results_per_page | url %][% END %]
[% END %]
[% FOREACH facet IN facets_loo.facets %]
- [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,1) || facet.facet_label_value %][% END %]
+ [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => facet.facet_label_value, opac =>1 ) || facet.facet_label_value %][% END %]
[% IF facets_loo.type_label_Language %][% SET facet.facet_label_value = Languages.GetByISOCode(lang,facet.facet_label_value) || facet.facet_label_value %][% END %]
[% IF loop.count > 5 && !facet.active %]