Bugzilla – Attachment 111436 Details for
Bug 26654
Add item number column to item search results and CSV export
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26654: Add item number column to item search
Bug-26654-Add-item-number-column-to-item-search.patch (text/plain), 2.54 KB, created by
Lucas Gass (lukeg)
on 2020-10-09 21:35:47 UTC
(
hide
)
Description:
Bug 26654: Add item number column to item search
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-10-09 21:35:47 UTC
Size:
2.54 KB
patch
obsolete
>From ae0525b0385a26fdd91fdc6f8d2c06bfa0f92e82 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 9 Oct 2020 21:34:14 +0000 >Subject: [PATCH] Bug 26654: Add item number column to item search > >Test plan: >1. Apply patch >2. Do an item search and notice the column containing the item number >--- > .../intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 2 ++ > 2 files changed, 3 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 1933950c07..c7862d4eb8 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 >@@ -18,6 +18,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.itemnumber | html %]", > "[% item.itemcallnumber | html %]", > "[% Branches.GetName(item.homebranch) | html %]", > "[% Branches.GetName(item.holdingbranch) | html %]", >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 0290678ab4..d9c6191e77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -285,6 +285,7 @@ > + ' <th id="items_publisher">' + _("Publisher") + '</th>' > + ' <th id="items_collection">' + _("Collection") + '</th>' > + ' <th id="items_barcode">' + _("Barcode") + '</th>' >+ + ' <th id="items_itemnumber">' + _("Item number") + '</th>' > + ' <th id="items_callno">' + _("Call number") + '</th>' > + ' <th id="items_homebranch">' + _("Home library") + '</th>' > + ' <th id="items_holdingbranch">' + _("Current library") + '</th>' >@@ -441,6 +442,7 @@ > { 'sName': 'publishercode' }, > { 'sName': 'ccode' }, > { 'sName': 'barcode' }, >+ { 'sName': 'itemnumber' }, > { 'sName': 'itemcallnumber' }, > { 'sName': 'homebranch' }, > { 'sName': 'holdingbranch' }, >-- >2.11.0
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 26654
:
111436
|
164419
|
164422
|
166603