Index everything properly when we have only projects in the limited setting
What does this MR do and why?
When we have only limited projects present then we should not send the skip project option.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Add only limited projects in the advanced search settings
- Run
bin/rails gitlab:elastic:indexand notice you would get work items and issues indexed.
Related to #475264 (closed)
Edited by Siddharth Dungarwal