Bugzilla – Attachment 131560 Details for
Bug 30204
Add subtitle to serial subscription search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30204: Add subtitle to serial search results
Bug-30204-Add-subtitle-to-serial-search-results.patch (text/plain), 2.34 KB, created by
Shi Yao Wang
on 2022-03-10 14:57:05 UTC
(
hide
)
Description:
Bug 30204: Add subtitle to serial search results
Filename:
MIME Type:
Creator:
Shi Yao Wang
Created:
2022-03-10 14:57:05 UTC
Size:
2.34 KB
patch
obsolete
>From 50b96fe1467fd6bf0a0331c284d839f41db13ccb Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 1 Mar 2022 16:11:40 +0000 >Subject: [PATCH] Bug 30204: Add subtitle to serial search results > >To test: >1. Make some new serial subscriptions and connect them to biblios that contain subtitles. >2. Do a serial search that will return your newly created subscription. >3. Notice the subtitle doesn't appear. >4. Apply patch and restart_all >5. Again try step 2. >6. Notice the subtitle appears alongside the title now. >7. Make sure it still sorts that column correctly. > >Signed-off-by: shiyao <shiyao@inlibro.com> >--- > C4/Serials.pm | 1 + > .../intranet-tmpl/prog/en/modules/serials/serials-search.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index ad772fecac..16bf9079dd 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -544,6 +544,7 @@ sub SearchSubscriptions { > subscription.*, > biblio.notes AS biblionotes, > biblio.title, >+ biblio.subtitle, > 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 83fd0ed3f1..70adfbfa9b 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 >@@ -104,7 +104,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 %]</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 %]</a> > </td> > <td> > [% IF ( subscription.publicnotes ) %][% subscription.publicnotes | html %][% END %] >-- >2.25.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 30204
:
131198
|
131560
|
132907
|
132979
|
132981
|
133201
|
133202