Prevent archived projects from showing up in global search
What does this MR do?
This MR sets the non_archived param as an argument to ProjectsFinder when searching for projects via the global search. This prevents archived projects from showing up in the search results. This MR also adds a spec that checks for archived projects in search results.
Related to #64738 (moved).
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. - [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Performance and testing
Edited by Mayra Cabrera