Skip to content
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

Currently ratingsAvg() was taking likes & dislikes into consideration #31

Open
Guillermo-Blackspot opened this issue Oct 7, 2021 · 0 comments

Comments

@Guillermo-Blackspot
Copy link

Currently ratingsAvg() was taking likes & dislikes into consideration when calculating the average rating for a specific model which is wrong.

I had to change it manually and I think I have to do the same with the votes.
you need to add the where clause and also return the result of avg with two decimal places

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant