diff --git a/app/controllers/global_activities_controller.rb b/app/controllers/global_activities_controller.rb index dfe5b5adf..f9230e485 100644 --- a/app/controllers/global_activities_controller.rb +++ b/app/controllers/global_activities_controller.rb @@ -145,6 +145,7 @@ class GlobalActivitiesController < ApplicationController .order(name: :asc) selected_subject = subject_search_params[:subjects] + matched = matched.where(my_module: nil) if subject == Protocol matched = matched.where(project_id: selected_subject['Project']) if subject == Experiment matched = matched.where(experiment_id: selected_subject['Experiment']) if subject == MyModule matched = matched.where(repository_id: selected_subject['RepositoryBase']) if subject == RepositoryRow