fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [6953] property: revert sorting in workorder


From: Sigurd Nes
Subject: [Fmsystem-commits] [6953] property: revert sorting in workorder
Date: Tue, 08 Feb 2011 11:25:17 +0000

Revision: 6953
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6953
Author:   sigurdne
Date:     2011-02-08 11:25:15 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
property: revert sorting in workorder

Modified Paths:
--------------
    trunk/property/inc/class.soworkorder.inc.php

Modified: trunk/property/inc/class.soworkorder.inc.php
===================================================================
--- trunk/property/inc/class.soworkorder.inc.php        2011-02-08 08:40:43 UTC 
(rev 6952)
+++ trunk/property/inc/class.soworkorder.inc.php        2011-02-08 11:25:15 UTC 
(rev 6953)
@@ -369,7 +369,8 @@
                        {
                                if($order == 'workorder_id')
                                {
-                                       $ordermethod = " ORDER BY 
fm_workorder.project_id {$sort},fm_workorder.id {$sort}";     
+       //                              $ordermethod = " ORDER BY 
fm_workorder.project_id {$sort},fm_workorder.id {$sort}";     
+                                       $ordermethod = " ORDER BY 
fm_workorder.id {$sort}";     
                                }
                                else
                                {
@@ -378,7 +379,8 @@
                        }
                        else
                        {
-                               $ordermethod = ' ORDER BY 
fm_workorder.project_id DESC,fm_workorder.id DESC';
+       //                      $ordermethod = ' ORDER BY 
fm_workorder.project_id DESC,fm_workorder.id DESC';
+                               $ordermethod = ' ORDER BY fm_workorder.id DESC';
                        }
 
                        $where= 'WHERE';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]