Skip to content
Snippets Groups Projects
Commit 044a195b authored by Clement Ho's avatar Clement Ho
Browse files

Add comments to issuable finder

parent 757bc8ec
No related branches found
No related tags found
No related merge requests found
Loading
@@ -174,6 +174,7 @@ class IssuableFinder
Loading
@@ -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
   
Loading
@@ -199,6 +200,7 @@ class IssuableFinder
Loading
@@ -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
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment