Skip to content

Commit

Permalink
Merge pull request #489 from trln/TD-1391-share-bookmarks
Browse files Browse the repository at this point in the history
Bugfix for share bookmarks URLs; permit doc_ids parameter. Fixes TD-1…
  • Loading branch information
zinc-glaze authored Dec 18, 2024
2 parents ca3b58c + dd9bf2e commit 478a5f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/trln_argon/controller_override.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ 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

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

0 comments on commit 478a5f7

Please sign in to comment.