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

Delete protest button doesn't work on admin page #146

Open
guytepper opened this issue Oct 15, 2020 · 1 comment
Open

Delete protest button doesn't work on admin page #146

guytepper opened this issue Oct 15, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@guytepper
Copy link
Owner

When trying to delete an existing protest, clicking on the delete button pop up an alert that says that the protest have been deleted, but it does not.

Screen Shot 2020-10-15 at 8 16 47

@guytepper guytepper added bug Something isn't working urgent HELP labels Oct 15, 2020
@guytepper guytepper removed the urgent HELP label Oct 15, 2020
@guytepper
Copy link
Owner Author

It happens because it doesn't really delete the protest, but sets an archived property on it, which we don't condition when we retrieve protests.
We should run a migration to add an archived property on each document (so it'd be easier to query).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant