Skip to content

Commit

Permalink
added of_types parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Jun 25, 2020
1 parent c91bb1c commit ad54419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/taxon_name_relationships_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def taxon_name_relationship_params
end

def filter_sql
h = params.permit(:taxon_name_id, :as_object, :as_subject, of_type: []).to_h.symbolize_keys
h = params.permit(:taxon_name_id, :as_object, :as_subject, of_types: []).to_h.symbolize_keys
Queries::TaxonNameRelationshipsFilterQuery.new(**h).where_sql
end

Expand Down

0 comments on commit ad54419

Please sign in to comment.