From 0724d78516dbf2fdf3fb44dc138594d40c1a7855 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 13 Sep 2012 07:00:13 +1000 Subject: [PATCH] [SIGNED-OFF] Bug 8765 - Add series title to intranet search results Content-Type: text/plain; charset="utf-8" Patch adds series title to intranet search results, so that the series volume is no longer displayed on its own. It also removes the comma that comes before the series volume as this is unnecessary punctuation that creates duplicate punctuation in search results. Signed-off-by: Owen Leonard --- .../prog/en/modules/catalogue/results.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 2e71ba7..8bcf703 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -474,7 +474,8 @@ YAHOO.util.Event.onContentReady("searchheader", function () { [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %] - [% IF ( SEARCH_RESULT.volume ) %],[% SEARCH_RESULT.volume %][% END %] [% IF ( SEARCH_RESULT.volumeddesc ) %], [% SEARCH_RESULT.volumeddesc %][% END %] + [% IF ( SEARCH_RESULT.seriestitle ) %][% SEARCH_RESULT.seriestitle %][% END %] + [% IF ( SEARCH_RESULT.volume ) %][% SEARCH_RESULT.volume %][% END %] [% IF ( SEARCH_RESULT.volumeddesc ) %], [% SEARCH_RESULT.volumeddesc %][% END %]

[% IF ( SEARCH_RESULT.summary ) %] [% IF ( SEARCH_RESULT.author ) %] -- 1.7.9.5