Commit 8a347092 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '235676-prioritize-exact-matches-fe' into 'master'

Sort projects by similarity when searching from Security Dashboard

See merge request gitlab-org/gitlab!43610
parents 24b5952f d0f078be
......@@ -223,6 +223,7 @@ export default {
first: this.$options.PROJECTS_PER_PAGE,
after: pageInfo.endCursor,
searchNamespaces: true,
sort: 'similarity',
},
});
},
......
---
title: Use similarity sort when searching projects from Security Dashboard
merge_request: 43610
author:
type: changed
......@@ -87,6 +87,7 @@ describe('Project Manager component', () => {
first: wrapper.vm.$options.PROJECTS_PER_PAGE,
after: '',
searchNamespaces: true,
sort: 'similarity',
},
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment