fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7372] property: sorting history by date


From: Sigurd Nes
Subject: [Fmsystem-commits] [7372] property: sorting history by date
Date: Tue, 14 Jun 2011 07:11:25 +0000

Revision: 7372
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7372
Author:   sigurdne
Date:     2011-06-14 07:11:24 +0000 (Tue, 14 Jun 2011)
Log Message:
-----------
property: sorting history by date

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

Modified: trunk/property/inc/class.boentity.inc.php
===================================================================
--- trunk/property/inc/class.boentity.inc.php   2011-06-14 06:25:00 UTC (rev 
7371)
+++ trunk/property/inc/class.boentity.inc.php   2011-06-14 07:11:24 UTC (rev 
7372)
@@ -550,7 +550,7 @@
                        $attrib_data = 
$this->custom->get($this->type_app[$this->type], $data['acl_location'], 
$data['attrib_id'], $inc_choices = true);
                        $history_type = 
$this->get_history_type_for_location($data['acl_location']);
                        $historylog = 
CreateObject('property.historylog',$history_type);
-                       $history_values = 
$historylog->return_array(array(),array('SO'),'history_timestamp','ASC',$data['id'],$data['attrib_id'],
 $data['detail_id']);
+                       $history_values = 
$historylog->return_array(array(),array('SO'),'history_timestamp','DESC',$data['id'],$data['attrib_id'],
 $data['detail_id']);
 
                        if($attrib_data['column_info']['type'] == 'LB')
                        {




reply via email to

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