Skip to content

Commit

Permalink
remove redundant code from sidebar_component override
Browse files Browse the repository at this point in the history
  • Loading branch information
zinc-glaze committed Oct 9, 2024
1 parent b73642b commit 8bf2a69
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/components/trln_argon/search/sidebar_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@
module TrlnArgon
module Search
class SidebarComponent < Blacklight::Search::SidebarComponent
def initialize(blacklight_config:, response:, view_config:)
super(blacklight_config: blacklight_config, response: response, view_config: view_config)
@blacklight_config = blacklight_config
@response = response
@group_component_class = view_config.facet_group_component || Blacklight::Response::FacetGroupComponent
end

attr_reader :group_component_class, :response

delegate :facet_group_names, :facet_fields_in_group, to: :@blacklight_config
end
end
end

0 comments on commit 8bf2a69

Please sign in to comment.