Add preload for routes and namespaces for issues controller.
What does this MR do?
Add preload for routes and namespaces on Controller Boards::IssuesController#index.json
, reduced queries to less than 100, and removed the corresponding whitelisted sections of code.
What are the relevant issue numbers?
Closes #43034 (closed) - Controller Boards::IssuesController#index.json executes more than 100 SQL queries
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by Chantal Rollison