aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-07-06 18:31:14 +0000
committermistic100 <mistic@piwigo.org>2013-07-06 18:31:14 +0000
commit29e2ed6b91fd619a4007d11c4889827362a63cf5 (patch)
treeaa8ae31bada058cecb9533230c7c4ecc41b0e114 /include
parent754af8dddef9a8baa7dcff1295cc9cc75b959101 (diff)
bug 2931: revert r23675 & r23721, make element_set_ranks.php uses ASC keyword (+ migration task)
git-svn-id: http://piwigo.org/svn/trunk@23813 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index ec9b9c93a..7cde5e35c 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 &rarr; Z'), 'name', true),
+ array(l10n('Photo title, A &rarr; Z'), 'name ASC', true),
array(l10n('Photo title, Z &rarr; A'), 'name DESC', true),
array(l10n('Date created, new &rarr; old'), 'date_creation DESC', true),
- array(l10n('Date created, old &rarr; new'), 'date_creation', true),
+ array(l10n('Date created, old &rarr; new'), 'date_creation ASC', true),
array(l10n('Date posted, new &rarr; old'), 'date_available DESC', true),
- array(l10n('Date posted, old &rarr; new'), 'date_available', true),
+ array(l10n('Date posted, old &rarr; new'), 'date_available ASC', true),
array(l10n('Rating score, high &rarr; low'), 'rating_score DESC', $conf['rate']),
- array(l10n('Rating score, low &rarr; high'), 'rating_score', $conf['rate']),
+ array(l10n('Rating score, low &rarr; high'), 'rating_score ASC', $conf['rate']),
array(l10n('Visits, high &rarr; low'), 'hit DESC', true),
- array(l10n('Visits, low &rarr; high'), 'hit', true),
+ array(l10n('Visits, low &rarr; high'), 'hit ASC', true),
array(l10n('Permissions'), 'level DESC', is_admin()),
));
}