Skip to content

Refactor '.is_governed_by' in Ddr::Index::Filter to use 'id-' form of resource...

Jim Coble requested to merge DDR-1597-index-query-tweak into develop

Refactor '.is_governed_by' in Ddr::Index::Filter to use 'id-' form of resource ID; relates to DDR-1597.

Valkyrie indexes admin policy ID's using Valkyrie::Persistence::Solr::ModelConverter::IDPropertyValue, which results in the 'admin_policy_id_*' Solr fields having values of the form 'id-uuid' rather than 'uuid'.

Also includes other tweaks to Ddr::Index::Filter '.has_content' and '.model' methods to account for namespaced resource classes.

Edited by Jim Coble

Merge request reports