Bugzilla – Attachment 156016 Details for
Bug 34230
Add part_name and part_number to subscription result list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34230: Add part_name and part_number to subscription search results
Bug-34230-Add-partname-and-partnumber-to-subscript.patch (text/plain), 2.64 KB, created by
Chris Cormack
on 2023-09-21 21:19:55 UTC
(
hide
)
Description:
Bug 34230: Add part_name and part_number to subscription search results
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2023-09-21 21:19:55 UTC
Size:
2.64 KB
patch
obsolete
>From 5dc318eaedc07143315c937f0bfdff93e1a56f6f Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 7 Jul 2023 16:10:30 +0000 >Subject: [PATCH] Bug 34230: Add part_name and part_number to subscription > search results > >This adds biblio.part_name and biblio.part_number to the SELECT of >SearchSubscriptions in order to be able to display the information in >the results list. It does not affect search. > >To test: >* Add one or more subscriptions >* Make sure at least one is linked to a title with 245$abnp >* Verify that the result list only shows 245$ab >* Apply patch >* Verify full title information is now shown > >Signed-off-by: Sam Lau <samalau@gmail.com> >Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > C4/Serials.pm | 2 ++ > .../intranet-tmpl/prog/en/modules/serials/serials-search.tt | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index b01172dc10c..1eae56bc8d1 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -539,6 +539,8 @@ sub SearchSubscriptions { > biblio.notes AS biblionotes, > biblio.title, > biblio.subtitle, >+ biblio.part_number, >+ biblio.part_name, > biblio.author, > biblio.biblionumber, > aqbooksellers.name AS vendorname, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index c1a95eab945..39f712b9305 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -98,7 +98,7 @@ > [% END %] > </td> > <td> >- <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]" class="button" title="subscription detail">[% subscription.title | html %] [% subscription.subtitle | html %]</a> >+ <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]" class="button" title="subscription detail">[% subscription.title | html %] [% subscription.subtitle | html %] [% subscription.part_number | html %] [%subscription.part_name | html %]</a> > </td> > <td> > [% IF ( subscription.publicnotes ) %][% subscription.publicnotes | html %][% END %] >-- >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 34230
:
153189
|
153191
|
153195
|
153207
| 156016