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
df7ebcba
Commit
df7ebcba
authored
Aug 08, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed filter by any label
parent
aaf176f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/boards/stores/boards_store.js.es6
app/assets/javascripts/boards/stores/boards_store.js.es6
+0
-1
app/assets/javascripts/labels_select.js
app/assets/javascripts/labels_select.js
+3
-1
No files found.
app/assets/javascripts/boards/stores/boards_store.js.es6
View file @
df7ebcba
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
if (persist) {
if (persist) {
list.save();
list.save();
this.removeBlankState();
this.removeBlankState();
this.updateNewListDropdown();
}
}
return list;
return list;
...
...
app/assets/javascripts/labels_select.js
View file @
df7ebcba
...
@@ -304,7 +304,9 @@
...
@@ -304,7 +304,9 @@
isIssueIndex
=
page
===
'
projects:issues:index
'
;
isIssueIndex
=
page
===
'
projects:issues:index
'
;
isMRIndex
=
page
===
'
projects:merge_requests:index
'
;
isMRIndex
=
page
===
'
projects:merge_requests:index
'
;
if
(
page
===
'
projects:boards:show
'
)
{
if
(
page
===
'
projects:boards:show
'
)
{
if
(
label
.
title
)
{
if
(
label
.
isAny
)
{
BoardsStore
.
state
.
filters
[
'
label_name
'
]
=
[];
}
else
if
(
label
.
title
)
{
BoardsStore
.
state
.
filters
[
'
label_name
'
].
push
(
label
.
title
);
BoardsStore
.
state
.
filters
[
'
label_name
'
].
push
(
label
.
title
);
}
else
{
}
else
{
var
labelIndex
=
BoardsStore
.
state
.
filters
[
'
label_name
'
].
indexOf
(
label
.
text
());
var
labelIndex
=
BoardsStore
.
state
.
filters
[
'
label_name
'
].
indexOf
(
label
.
text
());
...
...
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