Sha256: d2b8b2832aaec961adfb2459b1b5504b09c46e0274e317a8b1a3c5de6e02a3e8

Contents?: true

Size: 260 Bytes

Versions: 33

Compression:

Stored size: 260 Bytes

Contents

module Spree
  module Menus
    class Find < ::Spree::BaseFinder
      def execute
        return scope.where(location: params[:filter]['location']) if params[:filter].present? && params[:filter]['location'].present?

        scope
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
spree_core-4.10.1 app/finders/spree/menus/find.rb
spree_core-4.10.0 app/finders/spree/menus/find.rb
spree_core-4.9.0 app/finders/spree/menus/find.rb
spree_core-4.8.3 app/finders/spree/menus/find.rb
spree_core-4.8.2 app/finders/spree/menus/find.rb
spree_core-4.7.3 app/finders/spree/menus/find.rb
spree_core-4.6.6 app/finders/spree/menus/find.rb
spree_core-4.5.5 app/finders/spree/menus/find.rb
spree_core-4.3.3 app/finders/spree/menus/find.rb
spree_core-4.4.1 app/finders/spree/menus/find.rb
spree_core-4.5.4 app/finders/spree/menus/find.rb
spree_core-4.6.5 app/finders/spree/menus/find.rb
spree_core-4.7.2 app/finders/spree/menus/find.rb
spree_core-4.7.1 app/finders/spree/menus/find.rb
spree_core-4.6.4 app/finders/spree/menus/find.rb
spree_core-4.7.0 app/finders/spree/menus/find.rb
spree_core-4.6.3 app/finders/spree/menus/find.rb
spree_core-4.6.2 app/finders/spree/menus/find.rb
spree_core-4.6.1 app/finders/spree/menus/find.rb
spree_core-4.6.0 app/finders/spree/menus/find.rb