Commit c33338ea065b8512b0412ca0217d5f0f4f2b5c37
1 parent
b28b3e86
Exists in
master
and in
28 other branches
Show recent products on Product search view when query is empty
Showing
1 changed file
with
3 additions
and
5 deletions
Show diff stats
app/views/search/products.rhtml
... | ... | @@ -13,11 +13,9 @@ |
13 | 13 | <%= render :partial => 'search_form', :locals => { :hint => _('Type the product, service, city or qualifier desired') } %> |
14 | 14 | <%= render :partial => 'results_header' %> |
15 | 15 | |
16 | - <% if !@empty_query %> | |
17 | - <%= display_results(true) %> | |
18 | - <% if params[:display] != 'map' %> | |
19 | - <%= pagination_links @results[:products] %> | |
20 | - <% end %> | |
16 | + <%= display_results(true) %> | |
17 | + <% if params[:display] != 'map' %> | |
18 | + <%= pagination_links @results[:products] %> | |
21 | 19 | <% end %> |
22 | 20 | </div> |
23 | 21 | ... | ... |