resend APPDB - browse by rating

EA Durbin ead1234 at hotmail.com
Wed Sep 13 23:15:42 CDT 2006


>You are querying for appId from the appVersion table in
>Application::getWithRating().  This is going to result in duplicate appIds 
>as
>many applications have more than one version.  Should be easy to fix with a
>sql unique qualifier.
>
>The Application::countWithRating() function also isn't correct.  That isn't
>counting applications, its counting versions.  I'm not sure if the same
>unique fix will correct things there but it may.
>
>Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: browse_by_rating.php
Type: application/x-php
Size: 6915 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060913/b00a7881/browse_by_rating-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 3806 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060913/b00a7881/patch-0001.bin


More information about the wine-patches mailing list