summaryrefslogtreecommitdiff
path: root/lib/kolab_api_service.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-21 13:01:55 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-09-21 13:01:55 (GMT)
commit717b927bdacbed0a5eb8008fad8a6ad27a973812 (patch)
tree52878be27a6fae70bfb59f4a9024cef73c4beed7 /lib/kolab_api_service.php
parent64d056ad9cc59502cc8c5b943cc63e0c68b52fe9 (diff)
downloadkolab-wap-717b927bdacbed0a5eb8008fad8a6ad27a973812.tar.gz
Sort object types list by name
Diffstat (limited to 'lib/kolab_api_service.php')
-rw-r--r--lib/kolab_api_service.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index ad5c051..3fcefda 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -201,7 +201,7 @@ abstract class kolab_api_service
$unique_attr = 'nsuniqueid';
}
- $sql_result = $this->db->query("SELECT * FROM {$object_name}_types");
+ $sql_result = $this->db->query("SELECT * FROM {$object_name}_types ORDER BY name");
$object_types = array();
while ($row = $this->db->fetch_assoc($sql_result)) {