Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PROD] All appeals CSV download column issue #2383

Open
szabozoltan69 opened this issue Jan 14, 2025 · 0 comments
Open

[PROD] All appeals CSV download column issue #2383

szabozoltan69 opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels

Comments

@szabozoltan69
Copy link
Contributor

szabozoltan69 commented Jan 14, 2025

Issue

If someone downloads ("Exports") the CSV output from https://go.ifrc.org/alerts/all – it turns out that every 100 rows has a bit different structure.

https://goadmin.ifrc.org/api/v2/surge_alert/?offset=0&limit=100&format=csv
https://goadmin.ifrc.org/api/v2/surge_alert/?offset=100&limit=100&format=csv
https://goadmin.ifrc.org/api/v2/surge_alert/?offset=200&limit=100&format=csv
https://goadmin.ifrc.org/api/v2/surge_alert/?offset=300&limit=100&format=csv
...
https://goadmin.ifrc.org/api/v2/surge_alert/?offset=1500&limit=100&format=csv

So, after merging these pieces the full result will be not usable, due to the "self-decisions of every 100 row's column sequence". We should somehow make columns fixed.

@szabozoltan69 szabozoltan69 self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant