Skip to content

Commit

Permalink
Merge pull request #2369 from alphagov/add-open-on-load-filter-option
Browse files Browse the repository at this point in the history
Add 'open_filter_on_load' property to finder
  • Loading branch information
jon-kirwan authored Sep 6, 2023
2 parents 8058412 + ba08acb commit 5f9766f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/presenters/finder_content_item_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def details
document_noun: file.fetch("document_noun"),
filter: file.fetch("filter", nil),
format_name: file.fetch("format_name", nil),
open_filter_on_load: file.fetch("open_filter_on_load", nil),
logo_path: file.fetch("logo_path", nil),
show_summaries: file.fetch("show_summaries", false),
signup_link: file.fetch("signup_link", nil),
Expand Down
1 change: 1 addition & 0 deletions lib/documents/schemas/licence_transactions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"filter": {
"format": "licence_transaction"
},
"open_filter_on_load": true,
"show_summaries": true,
"organisations": [
"aa750cdf-7925-429d-a2b3-0d9fa47d2c48"
Expand Down

0 comments on commit 5f9766f

Please sign in to comment.