diff --git a/app/controllers/public/search_controller.rb b/app/controllers/public/search_controller.rb index e17e97f..cf704a5 100644 --- a/app/controllers/public/search_controller.rb +++ b/app/controllers/public/search_controller.rb @@ -27,7 +27,7 @@ class SearchController < PublicController @enabled_searches.select { |key,description| @searching[key] }.each do |key, description| load_query @asset = key - send(:get_results, key) + send(key) @order << key @names[key] = getterm(description) end @@ -43,7 +43,6 @@ class SearchController < PublicController else @results[@asset] = @environment.articles.public.send(@filter).paginate(paginate_options) end - render :template => 'search/search_page' end def contents @@ -56,7 +55,6 @@ class SearchController < PublicController else @results[@asset] = visible_profiles(Person).send(@filter).paginate(paginate_options) end - render :template => 'search/search_page' end def products @@ -65,7 +63,6 @@ class SearchController < PublicController else @results[@asset] = @environment.products.send(@filter).paginate(paginate_options) end - render :template => 'search/search_page' end def enterprises @@ -75,7 +72,6 @@ class SearchController < PublicController @filter_title = _('Enterprises from network') @results[@asset] = visible_profiles(Enterprise, [{:products => :product_category}]).paginate(paginate_options) end - render :template => 'search/search_page' end def communities @@ -84,7 +80,6 @@ class SearchController < PublicController else @results[@asset] = visible_profiles(Community).send(@filter).paginate(paginate_options) end - render :template => 'search/search_page' end def events diff --git a/app/views/search/articles.html.erb b/app/views/search/articles.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/app/views/search/articles.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/app/views/search/communities.html.erb b/app/views/search/communities.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/app/views/search/communities.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/app/views/search/enterprises.html.erb b/app/views/search/enterprises.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/app/views/search/enterprises.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/app/views/search/people.html.erb b/app/views/search/people.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/app/views/search/people.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/app/views/search/products.html.erb b/app/views/search/products.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/app/views/search/products.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/plugins/solr/views/search/articles.html.erb b/plugins/solr/views/search/articles.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/plugins/solr/views/search/articles.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/plugins/solr/views/search/communities.html.erb b/plugins/solr/views/search/communities.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/plugins/solr/views/search/communities.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/plugins/solr/views/search/enterprises.html.erb b/plugins/solr/views/search/enterprises.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/plugins/solr/views/search/enterprises.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/plugins/solr/views/search/people.html.erb b/plugins/solr/views/search/people.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/plugins/solr/views/search/people.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file diff --git a/plugins/solr/views/search/products.html.erb b/plugins/solr/views/search/products.html.erb new file mode 120000 index 0000000..46521ac --- /dev/null +++ b/plugins/solr/views/search/products.html.erb @@ -0,0 +1 @@ +search_page.html.erb \ No newline at end of file -- libgit2 0.21.2