From 19eb7a724fd7cf50859f9911d29054f7cc6ec288 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Wed, 27 May 2020 17:09:25 +0200 Subject: [PATCH] Add search context for projects --- app/controllers/crawlers/tiss_crawler_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/crawlers/tiss_crawler_controller.rb b/app/controllers/crawlers/tiss_crawler_controller.rb index d7f2368..aae78e3 100644 --- a/app/controllers/crawlers/tiss_crawler_controller.rb +++ b/app/controllers/crawlers/tiss_crawler_controller.rb @@ -19,6 +19,7 @@ class Crawlers::TissCrawlerController < ApplicationController # redirect to thesis_show_basic, propagate the search_term redirect_to :controller => 'crawlers/theses_crawler', :action => :show_basic, :search_term => params[:search_term] when 'Projects' + redirect_to :controller => 'crawlers/projects_crawler', :action => :show_basic, :search_term => params[:search_term] else puts 'Undefined search context' end