Bugzilla – Attachment 153189 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]
k
Bug-34230-Add-partname-and-partnumber-to-subscript.patch (text/plain), 2.47 KB, created by
Katrin Fischer
on 2023-07-07 16:13:28 UTC
(
hide
)
Description:
k
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-07-07 16:13:28 UTC
Size:
2.47 KB
patch
obsolete
>From fb67e590a01d11f1e9e2b29a2bec3d5dee6f99d7 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 >--- > 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 31a61c05fa..c7105d8248 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -535,6 +535,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 2ee33a3ba5..26e8a01e29 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 %] [%subscription.part_name %]</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