Commit 4e483e9ca3e7663d348e0bca5416da77beeeba97
1 parent
1b6b699f
Exists in
master
and in
29 other branches
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 | 30 | |
31 | 31 | def link_to_product_category(category) |
32 | 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 | 34 | else |
35 | 35 | _('Uncategorized product') |
36 | 36 | end | ... | ... |