[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.soagreement.inc.php, 1.3.2.4
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.soagreement.inc.php, 1.3.2.4 |
Date: |
Wed, 10 Nov 2004 09:11:33 +0100 |
Update of /property/inc
Modified Files:
Branch: proposed-0_9_18-branch
class.soagreement.inc.php
date: 2004/11/10 08:11:33; author: sigurdne; state: Exp; lines: +9 -2
Log Message:
no message
=====================================================================
Index: property/inc/class.soagreement.inc.php
diff -u property/inc/class.soagreement.inc.php:1.3.2.3
property/inc/class.soagreement.inc.php:1.3.2.4
--- property/inc/class.soagreement.inc.php:1.3.2.3 Mon Nov 8 22:54:27 2004
+++ property/inc/class.soagreement.inc.php Wed Nov 10 08:11:33 2004
@@ -133,14 +133,21 @@
$uicols['descr'][] =
lang('status');
$uicols['statustext'][] = lang('status');
- if ($order)
+ if ($order)
+ {
+ if ($order=='id')
{
$ordermethod = " order by
$entity_table.$order $sort";
}
else
{
- $ordermethod = " order by
$entity_table.id DESC";
+ $ordermethod = " order by $order $sort";
}
+ }
+ else
+ {
+ $ordermethod = " order by $entity_table.id
DESC";
+ }
$from .= " FROM $paranthesis $entity_table ";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.soagreement.inc.php, 1.3.2.4,
nomail <=