Sha256: f289993f588d8e16f3287b97b0617d618d1d24ad41a7b5dabdac61e4162f9a27
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
<% facets = @searcher.facets || [] taxon_names = @taxon ? @taxon.self_and_descendants.map(&:name) : [] for facet in facets options = facet.options options = options.sort{|x,y| y.count <=> x.count} unless facet.name == "price_range" unless options.empty? %> <h4><%= t "#{facet.name}_facet" %></h4> <ul><% for option in options %> <li> <%= link_to_facet(facet.name, option.name, option.count) %> </li><% end %> </ul><% end end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_solr_search-0.40.0 | app/views/products/_facets.html.erb |
spree_solr_search-0.30.0 | app/views/products/_facets.html.erb |