diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-08-02 19:20:50 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-08-02 19:20:50 +0000 |
commit | 86ae4d8b3ae8d1a4b3f78567dd8f67aa48ef43a8 (patch) | |
tree | cf4067b3b6298d2f700b6b5f59187ffe8e4efc55 /admin/rating.php | |
parent | a61fea92834dcadc8c1a648ca1fdb2c56d2079cd (diff) |
rename #images.average_rate to rating_score
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/rating.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/rating.php b/admin/rating.php index 339f3044a..5d5a1971c 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -164,7 +164,7 @@ SELECT i.id, i.path, i.file, i.tn_ext, - i.average_rate AS score, + i.rating_score AS score, MAX(r.date) AS recently_rated, ROUND(AVG(r.rate),2) AS avg_rates, COUNT(r.rate) AS nb_rates, @@ -176,7 +176,7 @@ SELECT i.id, i.path, i.file, i.tn_ext, - i.average_rate, + i.rating_score, r.element_id ORDER BY ' . $available_order_by[$order_by_index][1] .' LIMIT '.$elements_per_page.' OFFSET '.$start.' |