Sha256: 5d6d1ea6bac79f27561eed5f788f382e8fba738e81d05195ccf272aa7f0cf5ad

Contents?: true

Size: 339 Bytes

Versions: 14

Compression:

Stored size: 339 Bytes

Contents

module Geoblacklight
  module CatalogHelperOverride

    ##
    # Removes spatial query from params
    # @param [Symbol] symbol of field to be removed
    # @param [Hash] request parameters
    def remove_spatial_filter_group(field, source_params = params)
      p = source_params.dup
      p.delete(field.to_s)
      p
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
geoblacklight-0.11.1 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.11.0 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.10.2 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.10.1 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.10.0 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.9.2 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.9.1 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.9.0 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.8.0 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.7.1 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.7.0 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.6.2 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.6.1 lib/geoblacklight/catalog_helper_override.rb
geoblacklight-0.6.0 lib/geoblacklight/catalog_helper_override.rb