Sha256: c29ae606feb8970087a1825545930f763a82a1c4632d548c23fcb11e4174f691

Contents?: true

Size: 414 Bytes

Versions: 54

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Response
    class SortComponent < ViewComponent::Base
      def initialize(param: 'sort', choices: {}, search_state:, 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

54 entries across 54 versions & 2 rubygems

Version Path
blacklight-7.38.0 app/components/blacklight/response/sort_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/components/blacklight/response/sort_component.rb
blacklight-7.37.0 app/components/blacklight/response/sort_component.rb
blacklight-7.36.2 app/components/blacklight/response/sort_component.rb
blacklight-7.36.1 app/components/blacklight/response/sort_component.rb
blacklight-7.36.0 app/components/blacklight/response/sort_component.rb
blacklight-7.35.0 app/components/blacklight/response/sort_component.rb
blacklight-7.34.0 app/components/blacklight/response/sort_component.rb
blacklight-7.33.1 app/components/blacklight/response/sort_component.rb
blacklight-7.33.0 app/components/blacklight/response/sort_component.rb
blacklight-7.32.0 app/components/blacklight/response/sort_component.rb
blacklight-7.31.0 app/components/blacklight/response/sort_component.rb
blacklight-7.30.0 app/components/blacklight/response/sort_component.rb
blacklight-7.29.0 app/components/blacklight/response/sort_component.rb
blacklight-7.28.0 app/components/blacklight/response/sort_component.rb
blacklight-7.27.1 app/components/blacklight/response/sort_component.rb
blacklight-7.27.0 app/components/blacklight/response/sort_component.rb
blacklight-7.26.1 app/components/blacklight/response/sort_component.rb
blacklight-7.26.0 app/components/blacklight/response/sort_component.rb
blacklight-7.25.3 app/components/blacklight/response/sort_component.rb