Hi All,
I'd like to make a change to show the true average rating for a talk, and display the average rating with half star resolution (so your talk could have 4.5 stars overall). This wouldn't change how reviews are submitted at all. I've created the relevant images, and the change seems straightforward, but it involves changing the return type of the get_talk_rating MySQL function, which is in the joindin-api repo. This function rounds the result of the average calculation, which loses all of the granularity and makes it impossible to fix this in PHP. I propose changing this function to return a float, and tweaking the PHP to handle that in all call sites.
Is this the kind of patch you guys would accept? Are there any gotcha's I should know about before doing this? Is there a good reason why this function returns an int? Thanks!
-Jonathan