From 47be49cb8a87537ca8339318b54f5c75f0f121ad Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Dec 2017 12:42:29 +0000 Subject: [PATCH] Bug 19706: (followup) - correct variable name 'ccodes' not 'ccode' To test: 1 - Have some values in CCODE authorised values 2 - Ensure collection drop down on item search displays correctly 3 - Ensure item search returns results ot screen with no js errors --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index 44d39d5..5b9edbe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -363,7 +363,7 @@ { 'type': 'text' }, { 'type': 'text' }, { 'type': 'text' }, - [% IF ccode.size %] + [% IF ccodes.size %] { 'type': 'select', 'values': [% ccodes.json %] }, [% ELSE %] null, -- 2.1.4