openmrs-module-webservices.rest
openmrs-module-webservices.rest copied to clipboard
RESTWS-716:Orders resource returns no results when only status is specified
link:https://issues.openmrs.org/browse/RESTWS-716 Orders resource returns no results when only status is specified
@dkayiwa can this be merged?
@gitcliff i find it confusing to return an ObjectNotFoundException
, even when the patient
parameter is not specified.
My expectation is that a call like order?status=active
should result into a bad request status code as Darius clearly put it in one of the ticket comments.