Bugzilla – Attachment 137956 Details for
Bug 30858
Add serial enumeration/chronology to itemsearch.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30858: Add serial enumeration/chronology to item search
Bug-30858-Add-serial-enumerationchronology-to-item.patch (text/plain), 3.82 KB, created by
Martin Renvoize (ashimema)
on 2022-07-21 08:24:01 UTC
(
hide
)
Description:
Bug 30858: Add serial enumeration/chronology to item search
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-07-21 08:24:01 UTC
Size:
3.82 KB
patch
obsolete
>From b3659627ec72010ee79a19cd99a925edf9ae25cd Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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.." > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../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 ~%] > <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 %]", >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 @@ > + ' <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 %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30858
:
135393
|
137849
|
137850
|
137888
|
137889
| 137956 |
137957