Commit 4e483e9ca3e7663d348e0bca5416da77beeeba97

Authored by Braulio Bhavamitra
1 parent 1b6b699f

Fix category search link on catalog

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/display_helper.rb
@@ -30,7 +30,7 @@ module DisplayHelper @@ -30,7 +30,7 @@ module DisplayHelper
30 30
31 def link_to_product_category(category) 31 def link_to_product_category(category)
32 if category 32 if category
33 - link_to(category.name, :controller => 'search', :action => 'assets', :asset => 'products', :product_category => category.id, :host => category.environment.default_hostname) 33 + link_to(category.name, :controller => 'search', :action => 'products', :category_path => category.explode_path)
34 else 34 else
35 _('Uncategorized product') 35 _('Uncategorized product')
36 end 36 end