From 922e4a03280c6ae830f7aec3ab7f57f28b69cdd1 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 Content-Type: text/plain; charset="utf-8" - 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. --- .../prog/en/modules/catalogue/results.tt | 4 ++-- 1 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 456cacf..e1f84b8 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
-- 1.7.3