Stock Adjustment Reason display order not respected on the UI

Description

When viewing a list of available stock adjustment reasons on the requisition form, the display order is not respected. The backend properly includes the display order info in the response, so it seems that UI does not sort them according to the specified order. When viewing the dropdown with available stock adjustment reasons, the display order should be respected.

Acceptance criteria:

  • when viewing the dropdown with available stock adjustment reasons, the display order should be respected

Environment

None

Activity

Show:
Weronika Ciecierska
August 7, 2017, 10:55 AM
Edited

Correct order for Family Planning (this can be checked by looking at displayOrder value in the response from /api/stockAdjustmentReasons/search?program=programId):

  • Transfer in

  • Transfer out

  • Damaged

  • Lost

  • Stolen

  • Expired

  • Passed open-vial time limit

  • Cold chain failure

  • Clinic return

Joanna Bebak
August 7, 2017, 12:06 PM

Thank you. I checked, and everything works correctly.

Done

Assignee

Mateusz Kwiatkowski

Reporter

Sebastian Brudziński

Labels

None

Story Points

1

Time tracking

0m

Time remaining

7h

Components

Sprint

None

Fix versions

Priority

Minor