aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-04-19 05:57:41 +0000
committerrub <rub@piwigo.org>2007-04-19 05:57:41 +0000
commit26243e16133a38e776578dc5887a72338cae0fa0 (patch)
tree83d40183442a5679b6758877705295a52dd76175 /admin
parent0d23430059d55e164e2902099333b9256fb441b3 (diff)
Small improvement: order group by name
git-svn-id: http://piwigo.org/svn/trunk@1960 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/cat_perm.php1
-rw-r--r--admin/group_list.php2
-rw-r--r--admin/user_list.php1
3 files changed, 3 insertions, 1 deletions
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 3782d7190..39b9362bb 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -229,6 +229,7 @@ $groups = array();
$query = '
SELECT id, name
FROM '.GROUPS_TABLE.'
+ ORDER BY name ASC
;';
$result = pwg_query($query);
diff --git a/admin/group_list.php b/admin/group_list.php
index ccb5a5b80..c5bd7ac70 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -168,7 +168,7 @@ $template->assign_vars(
$query = '
SELECT id, name, is_default
FROM '.GROUPS_TABLE.'
- ORDER BY id ASC
+ ORDER BY name ASC
;';
$result = pwg_query($query);
diff --git a/admin/user_list.php b/admin/user_list.php
index bef1005fb..57d1788a1 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -429,6 +429,7 @@ $groups = array();
$query = '
SELECT id, name
FROM '.GROUPS_TABLE.'
+ ORDER BY name ASC
;';
$result = pwg_query($query);