X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Memories%2FPhoto.pm;h=e5cb9a0d51cad0d9c73f743ed312bf2f14459868;hb=f13b769823b6bd8bc9006e12970bec48969cb695;hp=5af62e9dd57af4dea02cac11fea01a196bc613e0;hpb=d82c04ad8284377640baac802ce54fa811fc514a;p=memories.git diff --git a/Memories/Photo.pm b/Memories/Photo.pm index 5af62e9..e5cb9a0 100644 --- a/Memories/Photo.pm +++ b/Memories/Photo.pm @@ -14,6 +14,7 @@ BEGIN { my %order_by = ( recent => "uploaded", popular => "hit_count", + rated => "rating/(1+rated)", interesting => INTERESTINGNESS_ALGORITHM, random => "rand()" );