go-frontend
go-frontend copied to clipboard
[PROD] Broken table sort fields coming from appeals dataset
Issue
GO front-end Operations table on Home and Region pages (Operation field) and the Operations table on Country pages (Name field) have sort options that do not do anything. They simply reload the table but do not sort. The other sort fields in the tables on Home, Region and Country pages function as expected.
Steps to reproduce
https://go.ifrc.org/regions/0#operations
https://go.ifrc.org/
https://go.ifrc.org/countries/152
https://go.ifrc.org/appeals/all/?country=152
Expected behaviour
Operation and Name fields should sort the text string values ascending or descending as the UI indicates they should be doing.
- [ ] Home page table Operation field sort works as expected
- [ ] Region page table Operation field sort works as expected
- [ ] Country page table Name field (same data as Operation in all other tables mentioned -- field should be renamed to "Operation" to maintain consistent naming, even if just on front-end column header) sort works as expected
- [ ] All X Country Operations page Operation field sort works as expected
Related feature
Please check other tables with text string sortable fields for same error in case I missed any. Seems to be the bug happens on all tables when attempting to sort the name of an operation from the Appeals data table.
Impact
Any user attempting to sort on these tables.
Severity
Medium impact (functional impact for those needing to actually sort the tables, but it's not critical)
Is there a workaround?
Users can access all tabular data and sort via the API.
Still relevant after the rewrite.