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
68fa16a5
Commit
68fa16a5
authored
Apr 26, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issues_for_nodes => issuables_for_nodes
parent
9f7c29ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/banzai/issuable_extractor.rb
lib/banzai/issuable_extractor.rb
+3
-3
No files found.
lib/banzai/issuable_extractor.rb
View file @
68fa16a5
...
@@ -28,13 +28,13 @@ module Banzai
...
@@ -28,13 +28,13 @@ module Banzai
issue_parser
=
Banzai
::
ReferenceParser
::
IssueParser
.
new
(
project
,
user
)
issue_parser
=
Banzai
::
ReferenceParser
::
IssueParser
.
new
(
project
,
user
)
merge_request_parser
=
Banzai
::
ReferenceParser
::
MergeRequestParser
.
new
(
project
,
user
)
merge_request_parser
=
Banzai
::
ReferenceParser
::
MergeRequestParser
.
new
(
project
,
user
)
issues_for_nodes
=
issue_parser
.
issues_for_nodes
(
nodes
).
merge
(
issu
abl
es_for_nodes
=
issue_parser
.
issues_for_nodes
(
nodes
).
merge
(
merge_request_parser
.
merge_requests_for_nodes
(
nodes
)
merge_request_parser
.
merge_requests_for_nodes
(
nodes
)
)
)
# The project for the issue might be pending for deletion!
# The project for the issue
/MR
might be pending for deletion!
# Filter them out because we don't care about them.
# Filter them out because we don't care about them.
issues_for_nodes
.
select
{
|
node
,
issuable
|
issuable
.
project
}
issu
abl
es_for_nodes
.
select
{
|
node
,
issuable
|
issuable
.
project
}
end
end
end
end
end
end
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