diff --git a/lib/ext/search_controller.rb b/lib/ext/search_controller.rb index 5b4c806..25ef97f 100644 --- a/lib/ext/search_controller.rb +++ b/lib/ext/search_controller.rb @@ -140,14 +140,6 @@ class SearchController def prepare_software_infos_category_groups @categories = Category.software_categories.sort{|a, b| a.name <=> b.name} - @categories_groupe_one = [] - @categories_groupe_two = [] - - if @categories && @categories.count > 1 - categories_sliced = @categories.each_slice(@categories.count/2) - @categories_groupe_one = categories_sliced.next - @categories_groupe_two = categories_sliced.next - end end def prepare_software_infos_category_enable diff --git a/views/search/_catalog_filter.html.erb b/views/search/_catalog_filter.html.erb index 9e1ca4d..0349f40 100644 --- a/views/search/_catalog_filter.html.erb +++ b/views/search/_catalog_filter.html.erb @@ -4,18 +4,12 @@