]> git.decadent.org.uk Git - memories.git/commitdiff
It's a bit of a hack but we blatantly can't call it "rated". Closes #11, anyhow.
authorSimon Cozens <simon@simon-cozens.org>
Sat, 10 Feb 2007 12:42:52 +0000 (12:42 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Sat, 10 Feb 2007 12:42:52 +0000 (12:42 +0000)
git-svn-id: http://svn.simon-cozens.org/memories/trunk@25 041978f6-d955-411f-a9d7-1d8545c9c3c7

Memories/Photo.pm
templates/rhs

index e5cb9a0d51cad0d9c73f743ed312bf2f14459868..eef30194cba202444604288434fd44cdf8fd1e67 100644 (file)
@@ -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()"
 );
index 76c9ad7048819264b5699fe0893f1031d8291300..bf70a13fcdcb283c9be52656f6abf71da38fed1a 100644 (file)
@@ -20,7 +20,7 @@
 <td><a href="[%base%]/photo/popular">Most popular</a></td>
 </tr>
 <tr>
-<td><a href="[%base%]/photo/rated">Highest rated</a></td>
+<td><a href="[%base%]/photo/loved">Highest rated</a></td>
 </tr>
 <tr>
 <td><a href="[%base%]/photo/interesting">Most interesting</a></td>