Implement sort control for CCE Inventory

Description

As a DIVO, I want to easily navigate and filter CCE Inventory so that I can see my equipment arranged by different metrics and I can make make decisions faster and with clearer information.

Acceptance Criteria

  • Insert navigation section with facility and program

    • if there is only one program in the list it should be selected by default

    • Should default to my home facility, facility select is required now

  • Remove the district column in the table since navigation will cover that

  • Default sort order will be Reference Name alphabetically (A->Z) and should be done on the server side.

Notes:
In the future we can look to support multiple sorts once requested.

Activity

Show:
Joanna Bebak
March 9, 2018, 7:56 AM

I made a re-test, and now everything works correctly.

Klaudia Pałkowska
March 8, 2018, 2:37 PM
Edited

I've been able to reproduce this and fixed the console error.

The facility mentioned above was renamed in demo data, so it's not related.

Łukasz Lewczyński
March 8, 2018, 2:01 PM

I can't reproduce this. I tested it on test and UAT server.

Łukasz Lewczyński
March 8, 2018, 1:52 PM

Could you take a look on that? Also I think some names could be changed because of OLMIS-4227.

Joanna Bebak
March 8, 2018, 1:49 PM

I re-tested the ticket and it seems that some issues still occur, unfortunately. The "EPI" program is visible now and filtering works correctly but when I choose some of the facilities supervised by divo1 (e.g. Macaue-2, Malapa), the errors from the previous comment still occur. For some facilities, the issue does not occur (e.g. for Cuamba or Dep-sito). Also, for some reason, Dep-sito is now "Depósito Distrital Cuamba". Dep-sito changed to "Depósito" also in case of other facilities which have "Dep-sito" in their name, so I suppose it's not related to this ticket.

Done

Assignee

Łukasz Lewczyński

Reporter

Rachel Powers

Labels