[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8525] property: bulk update
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8525] property: bulk update |
Date: |
Sun, 08 Jan 2012 14:25:32 +0000 |
Revision: 8525
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8525
Author: sigurdne
Date: 2012-01-08 14:25:31 +0000 (Sun, 08 Jan 2012)
Log Message:
-----------
property: bulk update
Modified Paths:
--------------
trunk/property/inc/class.soproject.inc.php
Modified: trunk/property/inc/class.soproject.inc.php
===================================================================
--- trunk/property/inc/class.soproject.inc.php 2012-01-08 13:23:14 UTC (rev
8524)
+++ trunk/property/inc/class.soproject.inc.php 2012-01-08 14:25:31 UTC (rev
8525)
@@ -1335,7 +1335,7 @@
$actual_cost = ',(act_mtrl_cost +
act_vendor_cost) as actual_cost';
$this->_update_status_workorder($execute, $status_new, $ids);
$sql = "SELECT {$table}.id,
$status_table.descr as status ,{$title_field},start_date {$actual_cost} FROM
{$table}"
- . " {$this->join} {$status_table} ON
{$table}.status = {$status_table}.id WHERE (start_date > {$start_date} AND
start_date < {$end_date} {$filter}) OR start_date is NULL"
+ . " {$this->join} {$status_table} ON
{$table}.status = {$status_table}.id WHERE ({$table}.start_date >
{$start_date} AND {$table}.start_date < {$end_date} {$filter}) OR start_date is
NULL"
. " ORDER BY {$table}.id DESC";
break;
default:
@@ -1351,7 +1351,7 @@
$values[] = array
(
'id' =>
$this->db->f('id'),
- 'title' =>
$this->db->f('title',true),
+ 'title' =>
htmlspecialchars_decode($this->db->f('title',true)),
'status' =>
$this->db->f('status',true),
'actual_cost' =>
$this->db->f('actual_cost'),
'start_date' =>
$GLOBALS['phpgw']->common->show_date($this->db->f('start_date'),$dateformat),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8525] property: bulk update,
Sigurd Nes <=