-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Batch update of all submissions doesn't work when filter is in place #4745
Comments
What do you think about just removing the special case for |
I've tested this issue. The problem perhaps is on the Back-end side. Imagine my project having two questions:
And I have four submissions: [
{
"start": "2024-02-02T13:44:20.189+01:00",
"Your_name": "Kate Wittgenstein",
"Is_it_really_your_name": "yes",
},
{
"start": "2024-02-02T13:44:10.816+01:00",
"Your_name": "Andrea Hue",
"Is_it_really_your_name": "yes",
},
{
"start": "2024-02-02T13:44:02.370+01:00",
"Your_name": "Joe Newton",
"Is_it_really_your_name": "no",
},
{
"start": "2024-02-02T13:43:53.403+01:00",
"Your_name": "Joe Johnson",
"Is_it_really_your_name": "yes",
}
] Now I'm doing the scenario of going to Project > Data > Table and bulk updating First scenario:
Second scenario:
Third scenario:
Fourth scenario:
So it seems that Back-end doesn't support/understand |
Description
Hi, when I try to batch update the status of all submissions, this works. The payload is the following:
{"confirm":true,"validation_status.uid":null}
However, when a filter is active to select a subset of submissions, the batch update doesn't work. The payload contains
"query"
then instead of"confirm":true
:{"query":{"_submission_time":"2022"},"validation_status.uid":"validation_status_approved"}
Selecting individual submissions works, but selecting and batch updating all submissions does not.
Steps to Reproduce
Expected behavior
The batch update for all matching submissions should also work when a filter is applied.
Actual behavior
The batch update for all submissions fails, when a filter is active.
Additional details
See below video for a demonstration of the issue.
kpi_batch_status_update_bug.mp4
The text was updated successfully, but these errors were encountered: