[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10935] property: sorting
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10935] property: sorting |
Date: |
Thu, 28 Feb 2013 10:18:06 +0000 |
Revision: 10935
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10935
Author: sigurdne
Date: 2013-02-28 10:18:05 +0000 (Thu, 28 Feb 2013)
Log Message:
-----------
property: sorting
Modified Paths:
--------------
trunk/property/inc/class.bocommon.inc.php
Modified: trunk/property/inc/class.bocommon.inc.php
===================================================================
--- trunk/property/inc/class.bocommon.inc.php 2013-02-25 11:20:04 UTC (rev
10934)
+++ trunk/property/inc/class.bocommon.inc.php 2013-02-28 10:18:05 UTC (rev
10935)
@@ -176,8 +176,10 @@
}
- function
get_user_list($format='',$selected='',$extra='',$default='',$start='',
$sort='', $order='', $query='',$offset='', $enabled = false)
+ function
get_user_list($format='',$selected='',$extra='',$default='',$start='',
$sort='ASC', $order='account_lastname', $query='',$offset='', $enabled = false)
{
+ $order= $order ? $order : 'account_lastname';
+
switch($format)
{
case 'select':
@@ -208,6 +210,7 @@
}
$accounts = & $GLOBALS['phpgw']->accounts;
+
$users = $accounts->get_list('accounts', $start, $sort,
$order, $query,$offset);
unset($accounts);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10935] property: sorting,
Sigurd Nes <=