From c40418057269883bf8a8541579e14680ae88dba5 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 Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Kyle M Hall --- 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 7c2fc6af54..bdf6ffdc0b 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -543,6 +543,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.39.5