-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
Milestone
Description
Description
In this ticket we introduce improvements to the current advanced search functionality. The proposed improvements are:
- Adding new values "Validated" and "Correction Requested" for "Status of record" search parameter
- Enabling queries with times relative to the current moment e.g. "from 7 days ago"
- Displaying the total number of search results
- Sorting result records by name and date
- Allowing hard-linking to search result page. This will help us reuse the search results view for other purposes such as the "Recent" work queue.
There will be another ticket that will include:
- "Recent" workqueue for recently processed declarations/records
- All workqueues and searches can be printed in a printer friendly way for paper copies of "Registers"
Design
Adding time period to Advance search

Custom search query name used as heading with total results

Tasks
- Add Validated and Correction Requested statuses as new options to the "Status of record" select. Make sure selecting In Review doesn't return records in validated status anymore.
- Display the total number of search results in the UI: it needs to be shown both in advanced search result and in saved search results. In search bookmark results, instead of saying "Search results (20)", show "My bookmark name (20)".
- Add new time period selection to advanced search. Add following options for the search so that the query is relative to current moment in time: 7 days, 30 days, 1 year. Make sure these labels are not send to the backend. In the backend, the parameter should function as a "from: Date" parameter.
- Design wise, time period is just another select in the Registration details section
- Implement sorting of results by name and date. Sort parameters have to be added also to the search queries so pagination works correctly.
Next iteration
These tasks do not have to be done now
- Make hard-linking to advanced search possible, meaning user should be able to land to advanced search with an URL like
/advanced-search?event=birth&status=any.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Completed
