Code

Added sorting variables
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Aug 2009 12:41:18 +0000 (12:41 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Aug 2009 12:41:18 +0000 (12:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14074 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/user-list.xml

index ccfb01ac897a8b0511fc32d08202ddd6ea79eb66..a05b6817c84b0865dc58e10d81e30c5ec4450b90 100644 (file)
@@ -9,6 +9,7 @@
     <template>user-list.tpl</template>
     <module>users</module>
     <label>List of users</label>
+    <defaultSortColumn>1</defaultSortColumn>
 
     <objectType>
       <label>Users</label>
@@ -34,7 +35,8 @@
 
     <column>
       <label>Name / Department</label>
-      <sort>string</sort>
+      <sortAttribute>sn</sortAttribute>
+      <sortType>string</sortType>
       <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
     </column>