BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ca430d24
Commit
ca430d24
authored
Mar 02, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `isGroupDecendent` to init config
parent
e4ec50b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
filtered_search_dropdown_manager.js
...ripts/filtered_search/filtered_search_dropdown_manager.js
+2
-0
filtered_search_manager.js
...ts/javascripts/filtered_search/filtered_search_manager.js
+2
-0
init_filtered_search.js
app/assets/javascripts/pages/search/init_filtered_search.js
+2
-0
No files found.
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js
View file @
ca430d24
...
...
@@ -16,6 +16,7 @@ export default class FilteredSearchDropdownManager {
page
,
isGroup
,
isGroupAncestor
,
isGroupDecendent
,
filteredSearchTokenKeys
,
})
{
this
.
container
=
FilteredSearchContainer
.
container
;
...
...
@@ -26,6 +27,7 @@ export default class FilteredSearchDropdownManager {
this
.
page
=
page
;
this
.
groupsOnly
=
isGroup
;
this
.
groupAncestor
=
isGroupAncestor
;
this
.
isGroupDecendent
=
isGroupDecendent
;
this
.
setupMapping
();
...
...
app/assets/javascripts/filtered_search/filtered_search_manager.js
View file @
ca430d24
...
...
@@ -22,11 +22,13 @@ export default class FilteredSearchManager {
page
,
isGroup
=
false
,
isGroupAncestor
=
false
,
isGroupDecendent
=
false
,
filteredSearchTokenKeys
=
FilteredSearchTokenKeys
,
stateFiltersSelector
=
'.issues-state-filters'
,
})
{
this
.
isGroup
=
isGroup
;
this
.
isGroupAncestor
=
isGroupAncestor
;
this
.
isGroupDecendent
=
isGroupDecendent
;
this
.
states
=
[
'opened'
,
'closed'
,
'merged'
,
'all'
];
this
.
page
=
page
;
...
...
app/assets/javascripts/pages/search/init_filtered_search.js
View file @
ca430d24
...
...
@@ -5,6 +5,7 @@ export default ({
filteredSearchTokenKeys
,
isGroup
,
isGroupAncestor
,
isGroupDecendent
,
stateFiltersSelector
,
})
=>
{
const
filteredSearchEnabled
=
FilteredSearchManager
&&
document
.
querySelector
(
'.filtered-search'
);
...
...
@@ -13,6 +14,7 @@ export default ({
page
,
isGroup
,
isGroupAncestor
,
isGroupDecendent
,
filteredSearchTokenKeys
,
stateFiltersSelector
,
});
...
...
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