Bugzilla – Attachment 144385 Details for
Bug 14911
Item search: Display additional title information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14911: Add 245 fields to itemsearch title column
Bug-14911-Add-245-fields-to-itemsearch-title-colum.patch (text/plain), 2.37 KB, created by
Lucas Gass
on 2022-12-01 21:59:54 UTC
(
hide
)
Description:
Bug 14911: Add 245 fields to itemsearch title column
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2022-12-01 21:59:54 UTC
Size:
2.37 KB
patch
obsolete
>From b55ae662c04247d6ecbd40455964834d2617d62c Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 1 Dec 2022 21:53:10 +0000 >Subject: [PATCH] Bug 14911: Add 245 fields to itemsearch title column > >To test: >1. Have some records that have these 245 fields: > > -Title 245$a > -Subtitle 245$b > -Medium 245$h > -Part number 245$n > -Part name 245$p > >Note: IN KTD I have to run batchRebuildBiblioTables.pl -c > >2. Apply patch and do an item search that will turn up items with the 245 fields lists above >3. Notice that those subfields are now included in the title column. > >I added them in this manner because it seemed right to be: >-Subfield, included in the title link >-Medium >-Part number >-Part name >--- > .../prog/en/includes/catalogue/itemsearch_item.json.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 5d30c08a9b2..daaddc4c2c4 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 >@@ -11,7 +11,7 @@ > <input type="checkbox" name="itemnumber" value="[% item.itemnumber | html %]"/> > [%~ END %]", > "[% FILTER escape_quotes ~%] >- <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]" title="Go to record detail page">[% biblio.title | html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %] >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]" title="Go to record detail page">[% biblio.title | html %][% IF biblio.subtitle %][% biblio.subtitle | html %][% END %]</a>[% IF biblio.medium %]<div class="medium">[% biblio.medium | html %]</div>[% END %][% IF biblio.part_number %]<div class="part_number">[% biblio.part_number | html %]</div>[% END %][% IF biblio.part_name %]<div class="part_name">[% biblio.part_name | html %]</div>[% END %]<div class="author">[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %]</div> > [%~ END %]", > "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", > "[% biblioitem.publishercode | html | $To %]", >-- >2.30.2
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 14911
:
144385
|
144511
|
144529
|
146147