_id and _lastUpdated search bindvariables are not added to QuerySegmentAggregators #577
Closed
Description
_id and _lastUpdated search bindvariables are not added to QuerySegmentAggregators
_id and _lastUpdated were converted to use derived tables. The default call on a single resource works:
https://localhost:9443/fhir-server/api/v4/Location?_lastUpdated=gt2018-01-01&_format=application/fhir+json
The system-wide search does not work, and must be fixed.
https://localhost:9443/fhir-server/api/v4?_lastUpdated=gt2018-01-01&_format=application/fhir+json&
The SortQuerySegmentAggregator for resource and global also does not work properly (not assigning bindvariables)
https://localhost:9443/fhir-server/api/v4/Location?_lastUpdated=gt2018-01-01&_format=application/fhir+json&_sort=_lastUpdated
Also check Include Query Segment Aggregator.