diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 23:13:01 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-15 23:15:28 +0300 |
commit | fe42de3a48a43ccea2bb60c8dcdb4d6665a72eef (patch) | |
tree | f28fc4db3830d081bbbdbb8e077e5cd5bae2e9ce /app/models | |
parent | 29b3279a954825541bb0cfb14b6fe0a92c867c4e (diff) |
Fix: features/ci/admin/runners_spec.rb
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 79c81df5eb2..1e9f78a3748 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -37,7 +37,7 @@ module Ci acts_as_taggable def self.search(query) - where('LOWER(runners.token) LIKE :query OR LOWER(runners.description) like :query', + where('LOWER(ci_runners.token) LIKE :query OR LOWER(ci_runners.description) like :query', query: "%#{query.try(:downcase)}%") end |