forum.coppermine-gallery.net
No Support => Feature requests => Topic started by: nickelas on August 25, 2011, 10:59:35 am
-
It would be most useful to be able to set the "Default sort order for files" to the rating of pictures.
Thanks,
http://uppsalafoto.se/galleri/ (http://uppsalafoto.se/galleri/)
-
Also, when showing the Top Rated, can the code take into account the vote and number of votes? At the moment the most voted image being given 5 stars is not first in the list.
Thanks, Mark
-
Also, when showing the Top Rated, can the code take into account the vote and number of votes? At the moment the most voted image being given 5 stars is not first in the list.
That's technically already the case:
ORDER BY pic_rating $DESC, r.votes $DESC, pid $DESC
As Coppermine won't display half stars it always rounds the vote result. The picture which is displayed at the first position is the picture with the best average voting.
Please don't hijack threads. It appears that your your post is related to the topic, but unfortunately it isn't and just clutters this feature request.
It would be most useful to be able to set the "Default sort order for files" to the rating of pictures.
Valid feature request.