Commit e2e6ea01a262c3edb267f238a4e086e6fa6b4051
1 parent
248797a7
Exists in
master
and in
29 other branches
Only inputs relevant to price are listed on product\'s search
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/search/_product.rhtml
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | <% end %> |
28 | 28 | |
29 | 29 | <% if product.price_described? %> |
30 | - <% title = (product.inputs + product.price_details).map{ |i| | |
30 | + <% title = (product.inputs.relevant_to_price + product.price_details).map{ |i| | |
31 | 31 | '<div class="search-product-input-dots-to-price">' + |
32 | 32 | '<div class="search-product-input-name">' + i.name + '</div>' + |
33 | 33 | price_span(i.price, :class => 'search-product-input-price') + | ... | ... |