Method: SpreeMobility::TranslationQuery#add_joins
- Defined in:
- lib/spree_mobility/translation_query.rb
#add_joins(search_scope) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/spree_mobility/translation_query.rb', line 7 def add_joins(search_scope) fallback_locales.each do |locale| search_scope = @mobility_backend_class. send(:join_translations, search_scope, locale, ::Arel::Nodes::OuterJoin) end search_scope end |