From 517eeb9501c7ed730df8e31a8bc389d24def0542 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sun, 15 Jan 2012 17:00:12 -0500 Subject: [PATCH] Bug 7277: Fixes display of subtitles in opac. Adds comma and space to results display in opac between title and subtitles. Also removes extra space before the subtitle in the results display of the staff pac. Signed-off-by: Nicole C. Engard Signed-off-by: Paul Poulain (cherry picked from commit 0ad771a68b5d60d7592b335934afcec3d7dc6c9e) Signed-off-by: Chris Nighswonger (cherry picked from commit f317028fa77e06a1cde2dc20cc6815086269a430) Signed-off-by: Chris Nighswonger --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 2 +- 2 files changed, 2 insertions(+), 2 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 52969f3a92..18a992d1fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -459,7 +459,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { [% INCLUDE 'biblio-default-view.inc' %] [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] - [% FOREACH subtitl IN SEARCH_RESULT.subtitle %] , [% subtitl.subfield %] [% 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.summary ) %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index 1c3babf801..7dc1529249 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -416,7 +416,7 @@ $(document).ready(function(){ [% ELSE %] [% END %] [% END %] - [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %][% subtitl.subfield %][% END %] + [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield %][% END %] [% IF ( SEARCH_RESULT.author ) %]by [% SEARCH_RESULT.author %] [% ELSE %]  [% END %] -- 2.39.5