Add comments to issuable finder

This commit is contained in:
Clement Ho 2017-01-10 20:51:57 -05:00
parent 757bc8ecf4
commit 044a195b1e

View file

@ -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
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