From 06aecc87e1af3b67f4e278cf72bfddcd8d9e6c93 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 17 Sep 2013 15:16:49 -0400 Subject: [PATCH] Facets after results, then DOMinate them into place We can use a media query in JavaScript to detect a given width and then drop the facets into their left-hand column if needed. Of course, we're going to need a media query polyfill to support Internet Explorer. Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/result/table.tt2 | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 65b475c095..4b4595d5bd 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -21,10 +21,6 @@ [% END %]
-
- [% INCLUDE "opac/parts/staff_saved_searches.tt2" %] - [% INCLUDE 'opac/parts/result/facets.tt2' %] -
@@ -359,6 +355,22 @@ END;
+
+ [% INCLUDE "opac/parts/staff_saved_searches.tt2" %] + [% INCLUDE 'opac/parts/result/facets.tt2' %] +
+
[% ctx.results_count_header %] -- 2.11.0