Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix wrong sql condition

  • Loading branch information...
commit 5336bb9653a8bba145257bcdd0daf61f3087d075 1 parent d187c93
netskin-ci netskin-ci authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/i18n_backend_sequel/translation.rb
2  lib/i18n_backend_sequel/translation.rb
View
@@ -67,7 +67,7 @@ class Translation < ::Sequel::Model(:i18n_translations)
end
namespace = "#{keys.last}#{I18n::Backend::Flatten::FLATTEN_SEPARATOR}%"
- filter(:key => keys).or(:key.like(namespace))
+ filter{({:key => keys}) | (key.like(namespace))}
end
plugin :serialization, :json, :value, :interpolations
Please sign in to comment.
Something went wrong with that request. Please try again.