Sha256: 2d727fee0532bbb1a666c4c7fbe8a1902a4cf29f491483a34567e483f13bdd8c

Contents?: true

Size: 221 Bytes

Versions: 49

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  # Saved search helpers
  module SearchesHelper
    def available_document_index_views
      blacklight_config.view.to_h.reject { |_k, v| v.if == false }
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
blacklight-spotlight-4.6.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.6.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.5.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.4.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.6 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.5 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.4 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.3 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.3.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.2.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.1.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.1.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.1.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.0.3 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.0.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.0.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-4.0.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-3.6.0.beta10 app/helpers/spotlight/searches_helper.rb