diff options
author | David Palubin <dpalubin@gmail.com> | 2019-09-11 01:41:21 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-09-11 01:41:21 +0300 |
commit | e915ee33839ce74c637a8614f12b5eeb56a2e261 (patch) | |
tree | d37471c358edecccfd865961432939e0d7a0c70f /app | |
parent | ae69bdeaed03e42dcabda558c209706bd051a0d4 (diff) |
Prevent archived projects from showing up in global search
Diffstat (limited to 'app')
-rw-r--r-- | app/services/search/global_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/search/global_service.rb b/app/services/search/global_service.rb index f711839e389..18a90c952fa 100644 --- a/app/services/search/global_service.rb +++ b/app/services/search/global_service.rb @@ -18,7 +18,7 @@ module Search end def projects - @projects ||= ProjectsFinder.new(current_user: current_user).execute + @projects ||= ProjectsFinder.new(params: { non_archived: true }, current_user: current_user).execute end def allowed_scopes |