Giorgi625 VIP
Total posts: 655
01 Март 2017 08:03

I just noticed that on my site when I rate record which is already rated by other user, my rating is added but removed other users rating.

For example one user has rated movie record with 7 stars, then I rated it with 9 stars, before refreshing page it display text 90% from 2 rates(must be 80% from 2 rates), but after refreshing there is 90% from 1 rate.

you can check it here http://g-websolutions.com/kinokorea/movies.html user demouser password demouser

Последние изменения: 15 Март 2017


Sergey
Total posts: 13,748
15 Март 2017 11:30

What if you rate again with other user? Check table js_res_vote if it stores all botes or just one.


Giorgi625 VIP
Total posts: 655
15 Март 2017 13:47

I made optimization of that db table and it seems to work fine now.

Thanks Sergey

Работает на Cobalt