X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Memories%2FPhoto.pm;h=5af62e9dd57af4dea02cac11fea01a196bc613e0;hb=79a133c5b5ef5e8a4879a8bfaaf43fc119be7631;hp=5a9b91e56aa133ea4cda60c948a12a6d7e7a9bba;hpb=006c40622b5547fcbb693fb37e2216e1d0e7bb6e;p=memories.git diff --git a/Memories/Photo.pm b/Memories/Photo.pm index 5a9b91e..5af62e9 100644 --- a/Memories/Photo.pm +++ b/Memories/Photo.pm @@ -14,7 +14,8 @@ BEGIN { my %order_by = ( recent => "uploaded", popular => "hit_count", - interesting => INTERESTINGNESS_ALGORITHM + interesting => INTERESTINGNESS_ALGORITHM, + random => "rand()" ); while (my($label, $how) = each %order_by) {