Skip to content

Commit

Permalink
Merge pull request #490 from trln/TD-1316-permit-parameters
Browse files Browse the repository at this point in the history
Permit id & debug parameters to be used. Fixes TD-1316.
  • Loading branch information
kazymovae authored Dec 19, 2024
2 parents 478a5f7 + 3fbb85c commit 9229722
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/trln_argon/controller_override.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ module ControllerOverride
config.search_builder_class = DefaultLocalSearchBuilder
config.default_per_page = 20

# Permit doc_ids param for sharing bookmarks
config.search_state_fields << :doc_ids
# Permit TRLN specific parameters to be used.
# Note that :id is used by BL core; removed when fixed there; see:
# https://github.com/projectblacklight/blacklight/issues/3154
config.search_state_fields << %i[id debug doc_ids]

# Sets the sidebar component for the index view in the TrlnArgon configuration.
config.index.sidebar_component = TrlnArgon::Search::SidebarComponent
Expand Down

0 comments on commit 9229722

Please sign in to comment.