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
8cd21552
Commit
8cd21552
authored
Dec 06, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix app/services/boards/issues/list_service.rb conflifct
parent
e61fee3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
app/services/boards/issues/list_service.rb
app/services/boards/issues/list_service.rb
+0
-11
No files found.
app/services/boards/issues/list_service.rb
View file @
8cd21552
...
...
@@ -55,22 +55,11 @@ module Boards
def
without_board_labels
(
issues
)
return
issues
unless
board_label_ids
.
any?
<<<<<<<
HEAD
label_links
=
LabelLink
.
where
(
"label_links.target_type = 'Issue' AND label_links.target_id = issues.id"
)
.
where
(
label_id:
board_label_ids
)
if
board
.
milestone
.
present?
label_links
=
label_links
.
where
(
"issues.milestone_id = ?"
,
board
.
milestone_id
)
end
issues
.
where
.
not
(
label_links
.
limit
(
1
).
arel
.
exists
)
=======
issues
.
where
.
not
(
issues_label_links
.
limit
(
1
).
arel
.
exists
)
end
def
issues_label_links
LabelLink
.
where
(
"label_links.target_type = 'Issue' AND label_links.target_id = issues.id"
).
where
(
label_id:
board_label_ids
)
>>>>>>>
upstream
/
master
end
def
with_list_label
(
issues
)
...
...
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