From: Simon Cozens Date: Sat, 10 Feb 2007 12:42:52 +0000 (+0000) Subject: It's a bit of a hack but we blatantly can't call it "rated". Closes #11, anyhow. X-Git-Tag: 1.2+svn20070808~43 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=41009314e922f5a0d484bf5c8482950a454b08d7;p=memories.git It's a bit of a hack but we blatantly can't call it "rated". Closes #11, anyhow. git-svn-id: http://svn.simon-cozens.org/memories/trunk@25 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- diff --git a/Memories/Photo.pm b/Memories/Photo.pm index e5cb9a0..eef3019 100644 --- a/Memories/Photo.pm +++ b/Memories/Photo.pm @@ -14,7 +14,7 @@ BEGIN { my %order_by = ( recent => "uploaded", popular => "hit_count", - rated => "rating/(1+rated)", + loved => "rating/(1+rated)", interesting => INTERESTINGNESS_ALGORITHM, random => "rand()" ); diff --git a/templates/rhs b/templates/rhs index 76c9ad7..bf70a13 100644 --- a/templates/rhs +++ b/templates/rhs @@ -20,7 +20,7 @@ Most popular -Highest rated +Highest rated Most interesting