-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
No hard delete for feedback #6153
Comments
Don't understand why is there a need of hard delete? |
Actually currently when user sets its rating to 0 again, I destroyed the record on frontend by - |
Then fix the queries of average rating and number of ratings |
One more case - suppose user again rates the session, then their will be similar entries in db - same user, same session. Even if I fix the queries for avg rating and number of ratings, these similar entries will exist. |
OK, go ahead with hard delete |
Describe the bug
Currently there is hard delete for feedback. When a user sets his/her rating to 0 again, the feedback of the user should be removed completely from the db.
This issue needs to be solved to merge fossasia/open-event-frontend#3198
Expected behavior
When the user clears his/her rating (i.e. sets it to 0 again), the feedback must be removed.
Additional context
On it
The text was updated successfully, but these errors were encountered: