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

Bug: "Download results" button on results page doesn't work #37

Open
paulapreuss opened this issue Jun 26, 2024 · 1 comment
Open

Bug: "Download results" button on results page doesn't work #37

paulapreuss opened this issue Jun 26, 2024 · 1 comment

Comments

@paulapreuss
Copy link

paulapreuss commented Jun 26, 2024

Clicking the button throws the following error:

{
    "detail": [
        {
            "loc": [
                "path",
                "project_id"
            ],
            "msg": "value is not a valid integer",
            "type": "type_error.integer"
        }
    ]
}

The url can't interpret project_id because it is not an integer. Before it is fixed, the bug can be circumvented by manually changing the broken redirect url (e.g. https://offgridplanner.org/download_data/%7B%7B%20project_id%20%7D%7D/csv/) to the actual project id (https://offgridplanner.org/download_data/**project_id**/csv/).

@paulapreuss paulapreuss changed the title "Download results" button on results page doesn't work Bug: "Download results" button on results page doesn't work Jul 25, 2024
@paulapreuss
Copy link
Author

Also related to a usability enhancement: It would be nice if the downloaded excel could be named according to the project name. When bulk downloading results, having all files called the same is very confusing.

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

No branches or pull requests

1 participant