scientist-softserv / britishlibrary

Other
3 stars 0 forks source link

An initializer that overrides Hyrax::My::FindWorksSearchBuilder that … #544

Closed cziaarm closed 6 months ago

cziaarm commented 6 months ago

…removes the filter set in Hyrax::My::SearchBuilder for that My::FindWorks... class

Story

BL do not need to prevent users adding the works of other depositoers of child works. So the thing that filters these works from the lookup/autocomplete can be reversed

Refs #542

Expected Behaviour Before Changes

When adding a child work on the relations tab the search will only return works that that user has deposited.

Expected Behaviour After Changes

When adding a child work on the relations tab the search will only any works that are not caught by the existing filters which rule out works that are that work or parents of that work.

cziaarm commented 6 months ago

Merged this into collections_need_tenant_dub_dom_too