Commit d0f078be authored by Jonathan Schafer's avatar Jonathan Schafer

Sort projects by similarity in Security Dashboard

parent ad7b1241
...@@ -223,6 +223,7 @@ export default { ...@@ -223,6 +223,7 @@ export default {
first: this.$options.PROJECTS_PER_PAGE, first: this.$options.PROJECTS_PER_PAGE,
after: pageInfo.endCursor, after: pageInfo.endCursor,
searchNamespaces: true, 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', () => { ...@@ -87,6 +87,7 @@ describe('Project Manager component', () => {
first: wrapper.vm.$options.PROJECTS_PER_PAGE, first: wrapper.vm.$options.PROJECTS_PER_PAGE,
after: '', after: '',
searchNamespaces: true, 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