Commit 8916009a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '284471-fix-project-filter-too-many-search-results' into 'master'

Fix new project filter returning too many search results

See merge request gitlab-org/gitlab!68353
parents f2a5454d e093ff23
......@@ -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