Commit generalizes the filtering by using the new Aggregation endpoint. Filters are now rendered based upon the returned values from this endpoint (when accepted in the front-end) and displayed in the filters menu. Each option received a checkbox with the corresponding values and aggregation numbers.
The Multi Select Component for rendering the filters has been cleaned up so it accepts all kinds of filter names and values and spits out checkboxes with the ability to add these to the Search Filters, as well as to remove them.
Adds:
Filters based upon the Aggregation endpoint using the Multi Select component (checkboxes)
Aggregation numbers on selectable/selected filters
Modifies:
Multi Select Component to be general and accept all kinds of filter names and values
Search bar to use the 'q' search filter for the free text search
Organisation Search on the Home Page remains the use of the ROR to filter on organisations, requires update from the API
Bug Fixes:
Resolve source system not showing up on Specimen page due to wrong route call of endpoint (needs to call /orchestrator and not /api/v1)
Commit generalizes the filtering by using the new Aggregation endpoint. Filters are now rendered based upon the returned values from this endpoint (when accepted in the front-end) and displayed in the filters menu. Each option received a checkbox with the corresponding values and aggregation numbers.
The Multi Select Component for rendering the filters has been cleaned up so it accepts all kinds of filter names and values and spits out checkboxes with the ability to add these to the Search Filters, as well as to remove them.
Adds:
Modifies:
Bug Fixes: