Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

[PROD] Broken table sort fields coming from appeals dataset #2503

Open
4 tasks
ryales opened this issue Sep 22, 2022 · 1 comment
Open
4 tasks

[PROD] Broken table sort fields coming from appeals dataset #2503

ryales opened this issue Sep 22, 2022 · 1 comment
Assignees

Comments

@ryales
Copy link

ryales commented Sep 22, 2022

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

image
image
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.

@tovari
Copy link

tovari commented Feb 26, 2024

Still relevant after the rewrite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants