From daf2190a5571fdfbd831258428b3a488736d546f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 21 Jun 2011 10:37:47 -0400 Subject: [PATCH] Alternate fix for Bug 6522 - search result list broken - Adding back the colspan removed in a previous commit - Correcting the scope of two template variables. Before applying this patch, the search results page in the staff client will have misaligned headers if AmazonCoverImages is turned off. After applying this patch headers should appear correctly with AmazonCoverImages on or off. Signed-off-by: Liz Rea Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- 1 file 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 456cacf6ea..e1f84b8e94 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -412,13 +412,13 @@ YAHOO.util.Event.onContentReady("searchheader", function () { [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %][% END %][% END %] - + [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] [% IF ( loop.odd ) %][% ELSE %][% END %] - [% IF ( SEARCH_RESULT.AmazonEnabled ) %][% IF ( SEARCH_RESULT.AmazonCoverImages ) %] + [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %]
 ResultsResults Location
-- 2.39.5