summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-18 04:30:43 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:27 -0200
commita9938e227bfb0ee1908beb9238bb95fece72805e (patch)
tree382b64edd5b1302e788a0dc441ab00a8f29f7a08 /app/finders
parentf99744d00de10094d6e483776313c52d86437a9d (diff)
downloadgitlab-ce-a9938e227bfb0ee1908beb9238bb95fece72805e.tar.gz
Add support to group labels to SlashCommands::InterpretService
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/labels_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/labels_finder.rb b/app/finders/labels_finder.rb
index 65db4184ecf..a5802171b6c 100644
--- a/app/finders/labels_finder.rb
+++ b/app/finders/labels_finder.rb
@@ -52,7 +52,7 @@ class LabelsFinder < UnionFinder
end
def title
- params[:title].presence
+ params[:title].presence || params[:name].presence
end
def project