You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: