@@ -, +, @@ always empty - Go to item search - Reproduce issue from initial comment - Apply patch - Verify that the column 'Collection' is filled --- .../intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) --- 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 @@ -1,5 +1,6 @@ [%- USE Branches -%] [%- USE Koha -%] +[% USE AuthorisedValues %] [%- biblio = item.biblio -%] [%- biblioitem = item.biblioitem -%] [ @@ -8,7 +9,7 @@ [%~ END %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", - "[% biblioitem.collectiontitle |html %]", + "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) %]", "[% FILTER escape_quotes ~%] [% item.barcode |html %] [%~ END %]", --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -255,7 +255,7 @@ { 'sName': 'title' }, { 'sName': 'publicationyear' }, { 'sName': 'publishercode' }, - { 'sName': 'collectiontitle' }, + { 'sName': 'ccode' }, { 'sName': 'barcode' }, { 'sName': 'itemcallnumber' }, { 'sName': 'homebranch' }, @@ -273,7 +273,7 @@ { 'type': 'text' }, { 'type': 'text' }, { 'type': 'text' }, - { 'type': 'text' }, + { 'type': 'select', 'values': [% ccodes.json %] }, { 'type': 'text' }, { 'type': 'text' }, { 'type': 'select', 'values': [% branches.json %] }, --