Skip to content

Sort by similarity in Search Group dropdown [RUN ALL RSPEC] [RUN AS-IF-FOSS]

What does this MR do?

Related to #332889 (closed)

Update the Search page Group dropdown to send an order_by param set to similarity. The similarity option was introduced in: !63674 (merged)

Add a new test

How to test

you can verify the SQL by using the performance bar that it is using similarity in the order by clause

Screenshots (strongly suggested)

Taken from my gdk where I staged some group names to match what we see on GitLab.com

Before

image

After

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Terri Chu

Merge request reports