@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -363,7 +363,11 @@ { 'type': 'text' }, { 'type': 'text' }, { 'type': 'text' }, - { 'type': 'select', 'values': [% ccodes.json %] }, + [% IF ccode.size %] + { 'type': 'select', 'values': [% ccodes.json %] }, + [% ELSE %] + null, + [% END %] { 'type': 'text' }, { 'type': 'text' }, { 'type': 'select', 'values': [% branches.json %] }, --