Commit e4e0c085d3db3d3cd09bcb16aacb30120e3912ae
1 parent
9eb00efa
Exists in
master
and in
23 other branches
Small misc fixes
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/acts_as_faceted.rb
| ... | ... | @@ -65,7 +65,7 @@ module ActsAsFaceted |
| 65 | 65 | |
| 66 | 66 | def map_facet_results(facet, facet_params, facets_data, unfiltered_facets_data = {}, options = {}) |
| 67 | 67 | raise 'Use map_facets_for before this method' if facet[:solr_field].nil? |
| 68 | - facets_data ||= {} | |
| 68 | + facets_data = {} if facets_data.blank? # could be empty array | |
| 69 | 69 | solr_facet = to_solr_fields_names[facet[:solr_field]] |
| 70 | 70 | |
| 71 | 71 | if facet[:queries] | ... | ... |
public/stylesheets/search.css
| ... | ... | @@ -211,7 +211,7 @@ li.article-item .search-result-title { |
| 211 | 211 | .search-article-categories, |
| 212 | 212 | .search-product-supplier, |
| 213 | 213 | .search-product-description, |
| 214 | -.searc-article-event-date { | |
| 214 | +.search-article-event-date { | |
| 215 | 215 | margin:5px 0 0 0; |
| 216 | 216 | clear:both; |
| 217 | 217 | } | ... | ... |