Commit e093ff23 authored by Daniel Tian's avatar Daniel Tian

Fix project filter returning too many search results

parent b9f9dd47
......@@ -92,7 +92,6 @@ export default {
manual: true,
variables() {
return {
pageSize: 20,
fullPath: this.groupFullPath,
// The IDs have to be in the format "gid://gitlab/Project/${projectId}"
ids: convertToGraphQLIds(PROJECT_ENTITY_NAME, this.uncachedIds),
......@@ -125,6 +124,7 @@ export default {
},
variables() {
return {
pageSize: 20,
fullPath: this.groupFullPath,
search: this.searchTerm,
};
......
query instanceProjects($search: String) {
query instanceProjects($search: String, $pageSize: Int) {
instance: instanceSecurityDashboard {
projects(search: $search) {
projects(search: $search, first: $pageSize) {
nodes {
id
name
......
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