From 313b85246efe4d81f75f38da3c0a9b76f9ac25b1 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: Fridolin Somers --- 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 391cdd5b33..4b0f84d97a 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -545,6 +545,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 2c4766b39c..4d86f0c914 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