Update module to new Hallinta system
[misc/hallinta-metro] / abteilung.php
index 0424da9..1bcbb0e 100644 (file)
@@ -8,21 +8,33 @@ $mask = array(
                                            'name' => 'ID',
                                            'visible' => false,
                                            ),
+                             'sort' => array(
+                                           'name' => 'Sort',
+                                           'width' => 50,
+                                           ),
                              'gang' => array(
                                            'name' => 'Gang',
+                                           'filter' => 't1',
                                            'width' => 50,
                                            ),
                              'name' => array(
                                            'name' => 'Name',
+                                           'filter' => 't',
                                            'width' => 200,
                                            ),
                              ),
              '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',