Skip to content

Commit

Permalink
fix: allow checklist as a value in visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pdl committed Mar 22, 2024
1 parent 06eb96a commit 0b2fd4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/species/search_params.rb
Expand Up @@ -29,7 +29,7 @@ def initialize(params)
),
visibility: whitelist_param(
sanitise_symbol(params[:visibility]),
[:speciesplus, :trade, :trade_internal, :elibrary],
[:speciesplus, :trade, :trade_internal, :elibrary, :checklist],
:speciesplus
),
include_synonyms: sanitise_boolean(params[:include_synonyms], false),
Expand Down

0 comments on commit 0b2fd4b

Please sign in to comment.