openmrs-module-webservices.rest icon indicating copy to clipboard operation
openmrs-module-webservices.rest copied to clipboard

RESTWS-716:Orders resource returns no results when only status is specified

Open gitcliff opened this issue 5 years ago • 2 comments

link:https://issues.openmrs.org/browse/RESTWS-716 Orders resource returns no results when only status is specified

gitcliff avatar Nov 18 '19 08:11 gitcliff

@dkayiwa can this be merged?

gracepotma avatar Mar 30 '21 16:03 gracepotma

@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.

dkayiwa avatar Mar 31 '21 13:03 dkayiwa