mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
feature 2384: improve average rating calculation (still need to update language files)
git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -290,7 +290,7 @@ function get_category_preferred_image_orders()
|
||||
return trigger_event('get_category_preferred_image_orders',
|
||||
array(
|
||||
array(l10n('Default'), '', true),
|
||||
array(l10n('Average rate'), 'average_rate DESC', $conf['rate']),
|
||||
array(l10n('Rating score'), 'average_rate DESC', $conf['rate']),
|
||||
array(l10n('Most visited'), 'hit DESC', true),
|
||||
array(l10n('Creation date'), 'date_creation DESC', true),
|
||||
array(l10n('Post date'), 'date_available DESC', true),
|
||||
|
||||
Reference in New Issue
Block a user