Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e093ff23
Commit
e093ff23
authored
Aug 16, 2021
by
Daniel Tian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project filter returning too many search results
parent
b9f9dd47
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/security_dashboard/components/shared/filters/project_filter.vue
...ty_dashboard/components/shared/filters/project_filter.vue
+1
-1
ee/app/assets/javascripts/security_dashboard/graphql/queries/instance_projects.query.graphql
...dashboard/graphql/queries/instance_projects.query.graphql
+2
-2
No files found.
ee/app/assets/javascripts/security_dashboard/components/shared/filters/project_filter.vue
View file @
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
,
};
...
...
ee/app/assets/javascripts/security_dashboard/graphql/queries/instance_projects.query.graphql
View file @
e093ff23
query
instanceProjects
(
$search
:
String
)
{
query
instanceProjects
(
$search
:
String
,
$pageSize
:
Int
)
{
instance
:
instanceSecurityDashboard
{
projects
(
search
:
$search
)
{
projects
(
search
:
$search
,
first
:
$pageSize
)
{
nodes
{
id
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment