Add ORDER BY part
authorJoey Schulze <joey@infodrom.org>
Thu, 11 Mar 2010 11:11:40 +0000 (12:11 +0100)
committerJoey Schulze <joey@infodrom.org>
Thu, 11 Mar 2010 11:11:40 +0000 (12:11 +0100)
masks/arbeitsberichte.php

index 8d61a3c..c301d2a 100644 (file)
@@ -352,7 +352,7 @@ $mask = array(
                                            'sql' => 'SELECT id,arbeitsart AS text FROM arbeitsarten ORDER BY text',
                                            ),
                              'kostenstellen' => array(
-                                           'sql' => 'SELECT id,kostenstelle AS text FROM kostenstellen WHERE gebiet = {gebiet}',
+                                           'sql' => 'SELECT id,kostenstelle AS text FROM kostenstellen WHERE gebiet = {gebiet} ORDER BY text',
                                            ),
                              'anbaugeraete' => array(
                                            'sql' => 'SELECT anbaugeraete.id,anbaugeraet as TEXT FROM anbaugeraete ' .