Skip to content

Commit

Permalink
use the more generically available term for custom queries across ada…
Browse files Browse the repository at this point in the history
…pters
  • Loading branch information
orangewolf committed Jan 7, 2025
1 parent a716035 commit a7a96a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/factories/bulkrax/valkyrie_object_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def self.search_by_property(value:, klass:, field: nil, name_field: nil, **)
return if value.blank?

# Return nil or a single object.
Hyrax.query_service.custom_query.find_by_model_and_property_value(model: klass, property: name_field, value: value)
Hyrax.query_service.custom_queries.find_by_model_and_property_value(model: klass, property: name_field, value: value)
end
# rubocop:enable Metrics/ParameterLists

Expand Down

0 comments on commit a7a96a7

Please sign in to comment.