Skip to content
Snippets Groups Projects

Exclude archived projects from blob search

Merged Siddharth Dungarwal requested to merge 414901-excluded-archived-from-blob-search into master
All threads resolved!
Compare and Show latest version
3 files
+ 40
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -312,7 +312,7 @@ def scope_options(scope)
when :users
base_options.merge(admin: current_user&.admin?, routing_disabled: true) # rubocop:disable Cop/UserAdmin
when :blobs
base_options.merge(filters.slice(:language))
base_options.merge(filters.slice(:language, :include_archived))
when :wiki_blobs
base_options.merge(root_ancestor_ids: root_ancestor_ids, routing_disabled: !reindex_wikis_to_fix_routing_done?)
else
Loading