diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-07-01 19:01:51 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-07-01 19:01:51 +0000 |
commit | 4514e1592c7f8435f223a3e91281d932a647625d (patch) | |
tree | 176e7d52118fb573e099fc2c3824e8cee61a36b7 /include/functions_category.inc.php | |
parent | 18cfd1bb208eb12cd1be736780d813fb2de6830e (diff) |
bug 2931: photos sort order, "default" is meaningless (fix again when order contains " ASC")
git-svn-id: http://piwigo.org/svn/trunk@23721 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_category.inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 7cde5e35c..ec9b9c93a 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -221,16 +221,16 @@ function get_category_preferred_image_orders() return trigger_event('get_category_preferred_image_orders', array( array(l10n('Default'), '', true), - array(l10n('Photo title, A → Z'), 'name ASC', true), + array(l10n('Photo title, A → Z'), 'name', true), array(l10n('Photo title, Z → A'), 'name DESC', true), array(l10n('Date created, new → old'), 'date_creation DESC', true), - array(l10n('Date created, old → new'), 'date_creation ASC', true), + array(l10n('Date created, old → new'), 'date_creation', true), array(l10n('Date posted, new → old'), 'date_available DESC', true), - array(l10n('Date posted, old → new'), 'date_available ASC', true), + array(l10n('Date posted, old → new'), 'date_available', true), array(l10n('Rating score, high → low'), 'rating_score DESC', $conf['rate']), - array(l10n('Rating score, low → high'), 'rating_score ASC', $conf['rate']), + array(l10n('Rating score, low → high'), 'rating_score', $conf['rate']), array(l10n('Visits, high → low'), 'hit DESC', true), - array(l10n('Visits, low → high'), 'hit ASC', true), + array(l10n('Visits, low → high'), 'hit', true), array(l10n('Permissions'), 'level DESC', is_admin()), )); } |