Thank you.
I realized that I need to display ranking of videos on spot. Is it the same way? How should I sort these videos by sum of vote up and vote down?
Hey man,
I’d love to ask one question. I’ve got up/down vote system. User who votes is adding to column “upvode” or “downvote”. I’ve created separate column “Score” in Videos collection to be able to sort my list of videos by Score - from high to low.
When I vote UP the nickname goes to “Upvote” column but if video is voted down and user votes up, it should be score +1 but I can only make 0 because I’m able to add or delete 1 when user clicks in “Score” table. How to make it work?