Sha256: 00d30fab6ccabc6bc40eab12fd4462f6c1fa8cddea5a4bd2cec3c7ed180ff356

Contents?: true

Size: 416 Bytes

Versions: 12

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Response
    class SortComponent < Blacklight::Component
      def initialize(search_state:, param: 'sort', choices: {}, id: 'sort-dropdown', classes: [], selected: nil)
        @param = param
        @choices = choices
        @search_state = search_state
        @id = id
        @classes = classes
        @selected = selected
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/response/sort_component.rb
blacklight-8.3.0 app/components/blacklight/response/sort_component.rb
blacklight-8.2.2 app/components/blacklight/response/sort_component.rb
blacklight-8.2.1 app/components/blacklight/response/sort_component.rb
blacklight-8.2.0 app/components/blacklight/response/sort_component.rb
blacklight-8.1.0 app/components/blacklight/response/sort_component.rb
blacklight-8.0.1 app/components/blacklight/response/sort_component.rb
blacklight-8.0.0 app/components/blacklight/response/sort_component.rb
blacklight-8.0.0.beta8 app/components/blacklight/response/sort_component.rb
blacklight-8.0.0.beta7 app/components/blacklight/response/sort_component.rb
blacklight-8.0.0.beta6 app/components/blacklight/response/sort_component.rb
blacklight-8.0.0.beta5 app/components/blacklight/response/sort_component.rb