Add sort column to improve listing
[misc/hallinta-metro] / abteilung.php
index 4035461..ee27287 100644 (file)
@@ -8,9 +8,13 @@ $mask = array(
                                            'name' => 'ID',
                                            'visible' => false,
                                            ),
+                             'sort' => array(
+                                           'name' => 'Sort',
+                                           'width' => 50,
+                                           ),
                              'gang' => array(
                                            'name' => 'Gang',
-                                           'specs' => "filterUI: 't'",
+                                           'specs' => "filterUI: 't1'",
                                            'width' => 50,
                                            ),
                              'name' => array(
@@ -20,11 +24,17 @@ $mask = array(
                                            ),
                              ),
              'edit' => array(
+                             'sort' => array(
+                                           'name' => 'Sortierung',
+                                           'type' => 'text',
+                                           'size' => 5,
+                                           'null' => true,
+                                           ),
                              'gang' => array(
                                            'name' => 'Gang',
                                            'type' => 'text',
-                                           'size' => 10,
-                                           'null' => true,
+                                           'size' => 5,
+                                           'required' => true,
                                            ),
                              'name' => array(
                                            'name' => 'Name',