Sha256: 9edd1af99f88b7f8eea19a67affa389b7562929fdac6cef9c3bf697ee2086b94

Contents?: true

Size: 221 Bytes

Versions: 18

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.select { |_k, v| v.if != false }.keys
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-3.0.0.alpha.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.13.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.12.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.12.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.11.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.10.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.9.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.8.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.7.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.7.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.7.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.6.1.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.6.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.6.0 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.5.2 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.5.1 app/helpers/spotlight/searches_helper.rb
blacklight-spotlight-2.5.0 app/helpers/spotlight/searches_helper.rb