Stop reordering of merge requst api requests of created_at
What does this MR do and why?
Stop reordering merge requests from created_at -> id when the order_by is created_at
Originally this was done for performance issues on the project api but also impacted the merge requests api negatively
Current Query
https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/22679/commands/73131
New Query
https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/22679/commands/73132
Related to:
https://gitlab.com/gitlab-org/gitlab/-/issues/423877
Related Slack Convo:
https://gitlab.slack.com/archives/C3NBYFJ6N/p1695636594084249
Edited by Marc Shaw