Sort milestones within autocomplete dropdown

What does this MR do?

Sort milestones within autocomplete dropdown (as shown when using /milestone command within markdown field) to match with what we did in !53242 (merged), i.e. show milestones in following order;

  1. Milestones with nearby due date
  2. Milestones without due date
  3. Expired milestones

Screenshots (strongly suggested)

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kushal Pandya

Merge request reports

Loading