Implement sort control for CCE Inventory
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.
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.
In the future we can look to support multiple sorts once requested.
I made a re-test, and now everything works correctly.
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.
I can't reproduce this. I tested it on test and UAT server.
Could you take a look on that? Also I think some names could be changed because of OLMIS-4227.
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.