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
ff266ce6
Commit
ff266ce6
authored
Mar 06, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set query params to endpoint for `groupAncestor` and `isGroupDecendent`
parent
0aea5bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js
...ripts/filtered_search/filtered_search_dropdown_manager.js
+10
-0
No files found.
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js
View file @
ff266ce6
...
...
@@ -125,6 +125,16 @@ export default class FilteredSearchDropdownManager {
endpoint
=
`
${
endpoint
}
?only_group_labels=true`
;
}
// EE-only
if
(
this
.
groupAncestor
)
{
endpoint
=
`
${
endpoint
}
&include_ancestor_groups=true`
;
}
// EE-only
if
(
this
.
isGroupDecendent
)
{
endpoint
=
`
${
endpoint
}
&include_descendant_groups=true`
;
}
return
endpoint
;
}
...
...
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