Answer by vikas.gulati for when i try to upvote a post that i have upvoted...
what i did was to override the process_vote method and change the line which says: score_delta = vote.cancel() response_data['count'] = post.score + score_delta response_data['status'] = 1 #this means...
View ArticleComment by Evgeny for when i try to upvote a post that i have upvoted...
Not sure if it's a big deal, this is the first time someone identified this as a problem in more than two years.
View ArticleComment by Evgeny for when i try to upvote a post that i have upvoted...
Maybe it's not the best way, how would you suggest to handle this situation?
View ArticleComment by vikas.gulati for when i try to upvote a post that i have upvoted...
desired behavior should be that previous vote shall only be cancelled if my current vote and old vote are opposites otherwise it shouldn't. to tackle this situation i had to override the process_vote...
View ArticleComment by todofixthis for when i try to upvote a post that i have upvoted...
What if you wanted to cancel your upvote without downvoting (or vice versa)?
View Articleon trying to upvote again previous vote gets cancelled!
when i try to upvote a post that i have upvoted previously the previous vote gets cancelled and score gets reduced. same problem occurs when i try to downvote a post that i have previously downvoted....
View Article
More Pages to Explore .....