summaryrefslogtreecommitdiff
path: root/app/models/label.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-07 17:16:26 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-07 17:16:26 +0300
commit534f8152c6405db515172a19ec3df35af4606fa4 (patch)
treece17a5db931a81c22efac8f42e879da3c3fddae5 /app/models/label.rb
parenteca3015d8843522968e5c372b45631354f0ada51 (diff)
downloadgitlab-ce-534f8152c6405db515172a19ec3df35af4606fa4.tar.gz
Use optionally_search for group labels index page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index 96c1515b41a..8db7c3abd10 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -5,6 +5,7 @@ class Label < ActiveRecord::Base
include Referable
include Subscribable
include Gitlab::SQL::Pattern
+ include OptionallySearch
# Represents a "No Label" state used for filtering Issues and Merge
# Requests that have no label assigned.