Default sort order for files - rated Default sort order for files - rated
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Default sort order for files - rated

Started by nickelas, August 25, 2011, 10:59:35 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

nickelas

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/
Human

emerym

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

ΑndrĂ©

Quote from: emerym on August 26, 2011, 12:56:14 PM
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.




Quote from: 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.
Valid feature request.