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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
044a195b
Commit
044a195b
authored
Jan 10, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comments to issuable finder
parent
757bc8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
app/finders/issuable_finder.rb
app/finders/issuable_finder.rb
+2
-0
No files found.
app/finders/issuable_finder.rb
View file @
044a195b
...
@@ -174,6 +174,7 @@ class IssuableFinder
...
@@ -174,6 +174,7 @@ class IssuableFinder
end
end
def
no_assignee?
def
no_assignee?
# Assignee_id takes precedence over assignee_username
params
[
:assignee_id
]
==
NONE
||
params
[
:assignee_username
]
==
NONE
params
[
:assignee_id
]
==
NONE
||
params
[
:assignee_username
]
==
NONE
end
end
...
@@ -199,6 +200,7 @@ class IssuableFinder
...
@@ -199,6 +200,7 @@ class IssuableFinder
end
end
def
no_author?
def
no_author?
# author_id takes precedence over author_username
params
[
:author_id
]
==
NONE
||
params
[
:author_username
]
==
NONE
params
[
:author_id
]
==
NONE
||
params
[
:author_username
]
==
NONE
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