From 26243e16133a38e776578dc5887a72338cae0fa0 Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 19 Apr 2007 05:57:41 +0000 Subject: Small improvement: order group by name git-svn-id: http://piwigo.org/svn/trunk@1960 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_perm.php | 1 + admin/group_list.php | 2 +- admin/user_list.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3