From e2e6ea01a262c3edb267f238a4e086e6fa6b4051 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Fri, 17 Aug 2012 19:50:31 -0300 Subject: [PATCH] Only inputs relevant to price are listed on product\'s search --- app/views/search/_product.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/search/_product.rhtml b/app/views/search/_product.rhtml index 41404aa..0a73f7b 100644 --- a/app/views/search/_product.rhtml +++ b/app/views/search/_product.rhtml @@ -27,7 +27,7 @@ <% end %> <% if product.price_described? %> - <% title = (product.inputs + product.price_details).map{ |i| + <% title = (product.inputs.relevant_to_price + product.price_details).map{ |i| '
' + '
' + i.name + '
' + price_span(i.price, :class => 'search-product-input-price') + -- libgit2 0.21.2