From 6dbd1be3065b0091f3c456bd527a5f346687a773 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 13 Sep 2012 07:00:13 +1000 Subject: [PATCH] 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. --- .../prog/en/modules/catalogue/results.tt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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.7.4