-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Milestone
Description
Description
Current scopes support limiting search results by event record and by ‘my jurisdiction’. Where my jurisdiction is any record created in the user’s assigned office
This ticket is to apply the new approach to defining a jurisdiction to search
An example search therefore is:
{
type: 'record.search',
options: {
event: ['birth', 'death'],
declaredIn: 'administrativeArea'
}
record.search[event:birth|death declared_in=my-administrative-area] = User can search for birth and death records that where declared in their administrative area
- Rename scope from
search.birthtorecord.search - Deprecate the old scopes, migrating to new ones using v1 to v2 helpers found in
scopes-v2.ts. Define them using object notation. UseencodeScopeat the appropriate level. - Implement the new scopes using 'hard-coded' jurisdiction syntax
{ declaredIn: 'administrativeArea' }
Acceptance Criteria
( Describe as many Acs as possible, each of them allowing for testing. )
Tech Tasks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Completed