Bug : Down vote not…
 
Notifications
Clear all

Bug : Down vote not working properly.

3 Posts
3 Users
2 Likes
433 Views
1
Topic starter

In a comment where a comment was already downvoted with a value of -1 i downvoted again so it went to -2 but if i upvoted the same comment it went to 0 and it stayed like that . it was supposed to be -1. i found this in the given below image comment.

 

Topic Tags
bug
1 Answer
1

@rivek-t Hi, it is not a bug as the concept of upvoting and downvoting works in this way only. It compares the existing value of the upvote count and then accordingly increments or decrements the count. So if it was 1 before and you downvoted that post so it would simply perform 1-1 i.e. 0. Hope you understood 🙂

This post was modified 2 years ago 2 times by akshajsrivastava
demo.learner demo.learner 05/03/2023 5:23 pm

@akshajsrivastava Yes that’s what i wanted to say. Keep exploring.

Rivek.t Rivek.t Topic starter 06/03/2023 8:13 am

@akshajsrivastava oh okay. Thanks for clearing it.

Share: