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.."

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Lucas Gass 2022-05-26 16:34:12 +00:00 committed by Tomas Cohen Arazi
parent c12d037da2
commit 8c5e47ae5b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
3 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,7 @@
"[% FILTER escape_quotes ~%]
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]#item[% item.itemnumber | uri %]" title="Go to item details">[% item.barcode | html %]</a>
[%~ END %]",
"[% item.enumchron | html %]",
"[% item.itemcallnumber | html %]",
"[% Branches.GetName(item.homebranch) | html %]",
"[% Branches.GetName(item.holdingbranch) | html %]",

View file

@ -12,6 +12,8 @@
[%- delimiter | $raw -%]
"Barcode"
[%- delimiter | $raw -%]
"Serial enumeration"
[%- delimiter | $raw -%]
"Call number"
[%- delimiter | $raw -%]
"Home library"

View file

@ -324,6 +324,7 @@
+ ' <th id="items_publisher">' + _("Publisher") + '</th>'
+ ' <th id="items_collection">' + _("Collection") + '</th>'
+ ' <th id="items_barcode">' + _("Barcode") + '</th>'
+ ' <th id="items_barcode">' + _("Serial enumeration") + '</th>'
+ ' <th id="items_callno">' + _("Call number") + '</th>'
+ ' <th id="items_homebranch">' + _("Home library") + '</th>'
+ ' <th id="items_holdingbranch">' + _("Current library") + '</th>'
@ -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 %]