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.25.2 app/components/blacklight/response/sort_component.rb
blacklight-7.25.1 app/components/blacklight/response/sort_component.rb
blacklight-7.25.0 app/components/blacklight/response/sort_component.rb
blacklight-7.24.0 app/components/blacklight/response/sort_component.rb
blacklight-7.23.0.1 app/components/blacklight/response/sort_component.rb
blacklight-7.23.0 app/components/blacklight/response/sort_component.rb
blacklight-7.22.2 app/components/blacklight/response/sort_component.rb
blacklight-7.22.1 app/components/blacklight/response/sort_component.rb
blacklight-7.22.0 app/components/blacklight/response/sort_component.rb
blacklight-7.21.2 app/components/blacklight/response/sort_component.rb
blacklight-7.21.1 app/components/blacklight/response/sort_component.rb
blacklight-7.21.0 app/components/blacklight/response/sort_component.rb
blacklight-7.20.1 app/components/blacklight/response/sort_component.rb
blacklight-7.20.0 app/components/blacklight/response/sort_component.rb
blacklight-7.19.2 app/components/blacklight/response/sort_component.rb
blacklight-7.19.1 app/components/blacklight/response/sort_component.rb
blacklight-7.19.0 app/components/blacklight/response/sort_component.rb
blacklight-7.18.1 app/components/blacklight/response/sort_component.rb
blacklight-7.18.0 app/components/blacklight/response/sort_component.rb
blacklight-7.17.2 app/components/blacklight/response/sort_component.rb