Bugzilla – Attachment 131198 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.30 KB, created by
Lucas Gass (lukeg)
on 2022-03-01 16:14:54 UTC
(
hide
)
Description:
Bug 30204: Add subtitle to serial search results
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-03-01 16:14:54 UTC
Size:
2.30 KB
patch
obsolete
>From 654944dc3853444a40f860fa47570ff969f048cd 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. >--- > 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 72d16590ea..4a940f9a14 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.20.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