From 96f77b84eba0a07a8df638d71d381b3b9f1d690f Mon Sep 17 00:00:00 2001 From: Lucas Gass 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 Signed-off-by: Katrin Fischer --- 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 %] - [% subscription.title | html %] + [% subscription.title | html %] [% subscription.subtitle | html %] [% IF ( subscription.publicnotes ) %][% subscription.publicnotes | html %][% END %] -- 2.30.2