From 8562fef0d85af05c75c4575f6176ffea530f8445 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 26 May 2022 16:34:12 +0000 Subject: [PATCH] Bug 30858: Add serial enumeration/chronology to item search To test: 1. Apply patch 2. Go to Catalog > Item search and do a search for items that you know contain a items.enumchron 3. The result set should now show the items.enumchron 4. Make sure you can properly "Export results to.." --- .../prog/en/includes/catalogue/itemsearch_item.json.inc | 1 + .../prog/en/includes/csv_headers/catalogue/itemsearch.tt | 2 ++ .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 3 +++ 3 files changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc index 6b3388d5ff..5d30c08a9b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc @@ -19,6 +19,7 @@ "[% FILTER escape_quotes ~%] [% item.barcode | html %] [%~ END %]", + "[% item.enumchron | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt index 238253ff74..631e7fd0ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt @@ -12,6 +12,8 @@ [%- delimiter | $raw -%] "Barcode" [%- delimiter | $raw -%] +"Serial enumeration" +[%- delimiter | $raw -%] "Call number" [%- delimiter | $raw -%] "Home library" 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 27521c1635..9ce8995c2c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -324,6 +324,7 @@ + ' ' + _("Publisher") + '' + ' ' + _("Collection") + '' + ' ' + _("Barcode") + '' + + ' ' + _("Serial enumeration") + '' + ' ' + _("Call number") + '' + ' ' + _("Home library") + '' + ' ' + _("Current library") + '' @@ -481,6 +482,7 @@ { 'sName': 'publishercode' }, { 'sName': 'ccode' }, { 'sName': 'barcode' }, + { 'sName': 'enumchron' }, { 'sName': 'itemcallnumber' }, { 'sName': 'homebranch' }, { 'sName': 'holdingbranch' }, @@ -510,6 +512,7 @@ [% END %] { 'type': 'text' }, { 'type': 'text' }, + { 'type': 'text' }, { 'type': 'select', 'values': [% INCLUDE escape_html_value_label elts => branches %] }, { 'type': 'select', 'values': [% INCLUDE escape_html_value_label elts => branches %] }, [% IF locations.size %] -- 2.30.2