diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2019-01-17 17:35:23 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2019-01-24 20:44:09 +0300 |
commit | 22eb2e4c227b060981bb37708222cdd07e825542 (patch) | |
tree | c02c037a5877e1f7075a99806336fef8cb3b03bc /lib/gitlab/sql | |
parent | e520a946410ca0007a2a562f2c2a7c6f8c6f1dab (diff) |
Adds milestone search
Adds to search ILIKE search for milestones title in:
- Milestones dashboard
- Group milestones page
- Project milestones page
Diffstat (limited to 'lib/gitlab/sql')
-rw-r--r-- | lib/gitlab/sql/union.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/sql/union.rb b/lib/gitlab/sql/union.rb index d24d5116167..f05592fc3a3 100644 --- a/lib/gitlab/sql/union.rb +++ b/lib/gitlab/sql/union.rb @@ -9,7 +9,7 @@ module Gitlab # # Example usage: # - # union = Gitlab::SQL::Union.new(user.personal_projects, user.projects) + # union = Gitlab::SQL::Union.new([user.personal_projects, user.projects]) # sql = union.to_sql # # Project.where("id IN (#{sql})") |