Not getting all orderables in response when sending HTTP request with parameters to GET /orderables endpoint

Description

When working on I notice some issues with HTTP responses for GET /orderables. The problem is that response is not containing all orderables it should when request has different parameters (for example name and id).

Reproduction steps:
1. Establish Postman connection with UAT server
2. Send HTTP request with parameters below and confirm that the results are OK:

  • id = 2400e410-b8dd-4954-b1c0-80d8a8e785fc

  • id = d602d0c6-4052-456c-8ccd-61b4ad77bece

  • id = 72971f1d-dd20-4373-aa94-f9615777581b

3. Change id=2400e410-b8dd-4954-b1c0-80d8a8e785fc to name=Acetylsalicylic Acid and leave the other 2 ids and send request. Notice that you only received 2 orderables in response
4. Send HTTP request only with 1 param (name=Acetylsalicylic Acid ) to confirm that you receive this orderable when requested separately

Expected:
HTTP responses should contain all orderables matching request parameters.

Update:

I also noticed that when setting a few parameters of the same type (for example 3x name, 3x code) then the response returns only the first object. It would need to be determined how should it work - should there be some error messages, validation etc.

Environment

None

Assignee

Unassigned

Reporter

Paweł Pinker

Epic Link

Components

Priority

Major
Configure