Commit 28854e4980070229ab34f08575ea5031ff9da643
1 parent
8e9e0547
Exists in
master
and in
29 other branches
Use same column structure for all pages
Showing
1 changed file
with
5 additions
and
9 deletions
Show diff stats
plugins/solr/views/search/search_page.html.erb
... | ... | @@ -3,17 +3,13 @@ |
3 | 3 | |
4 | 4 | <%= search_page_title( @titles[@asset], @category ) %> |
5 | 5 | |
6 | -<% if !@empty_query %> | |
7 | - <div id='search-column-left'> | |
8 | - <%= render :partial => 'facets' %> | |
9 | - </div> | |
6 | +<div id='search-column-left'> | |
7 | + <%= render :partial => 'facets' if !@empty_query %> | |
8 | +</div> | |
10 | 9 | |
11 | - <div id='search-column-right'> | |
12 | - <%= render :partial => 'results' %> | |
13 | - </div> | |
14 | -<% else %> | |
10 | +<div id='search-column-right'> | |
15 | 11 | <%= render :partial => 'results' %> |
16 | -<% end %> | |
12 | +</div> | |
17 | 13 | |
18 | 14 | <div style="clear: both"></div> |
19 | 15 | ... | ... |