Order search should accept array of statuses

Description

Currently the search endpoint in the fulfillment service allow to set a single order status as a request parameter. A user should be able to set a several different status and the endpoint should return only orders that match one of the passed statuses.

Acceptance criteria

  • endpoint should accept an array of order statuses

  • endpoint should return a list of orders that match one of statues from the request

  • duplicates should be treated as a single status (for example ['PICKED', 'PICKED'] -> ['PICKED'])

  • UI should use a new version of endpoint instead of filtering results

Environment

None

Attachments

2

QAlity Plus - Test Management

Checklists

Activity

Show:
Anna Czyrko
February 17, 2017 at 9:58 AM
(edited)

On UI I notice proper request

Anna Czyrko
February 17, 2017 at 9:24 AM

I can search orders by some statuses:

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

4h logged4h remaining

Components

Sprint

None

Fix versions

Priority

Time Assistant

Created February 15, 2017 at 1:42 PM
Updated February 17, 2017 at 1:27 PM
Resolved February 17, 2017 at 10:10 AM