phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [ 100372 ] Todo's matrix view not displaying anyt


From: nobody
Subject: [Phpgroupware-tracker] [ 100372 ] Todo's matrix view not displaying anythi
Date: Fri, 01 Feb 2002 12:32:52 -0500

Support Request #100372, was updated on 2002-Feb-01 12:32
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100372&group_id=509

Category: Bug Report
Status: Open
Priority: 5
Summary: Todo's matrix view not displaying anythi

By: eric.parusel
Date: 2002-Feb-01 12:32

Message:
Logged In: NO 
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

This is for 0.9.14.... 

The Todo app's matrix view doesn't display anything, 
this is because the date function is passed $sdate and 
$edate rather than $sdate_epoch and $edate_epoch... 

Here's a patch: (the @@ -x,x +x,x @@ data might not 
match up due to some other stuff I've edited up higher 
in the file.....) 

--- class.ui.inc.php Wed Jan 30 13:08:21 2002 
+++ class.ui.inc.php Thu Jan 31 11:20:39 2002 
@@ -636,8 +646,8 @@ 

if ($entries[$i] 
['sdate'] > 0 && $entries[$i]['edate'] > 0) 
{ 
- $startd = date 
('Y',$entries[$i]['sdate']) . date('m',$entries[$i] 
['sdate']) . date('d',$entries[$i]['sdate']); 
- $endd = date 
('Y',$entries[$i]['edate']) . date('m',$entries[$i] 
['edate']) . date('d',$entries[$i]['edate']); 
+ $startd = date 
('Y',$entries[$i]['sdate_epoch']) . date('m',$entries 
[$i]['sdate_epoch']) . date('d',$entries[$i] 
['sdate_epoch']); 
+ $endd = date 
('Y',$entries[$i]['edate_epoch']) . date('m',$entries 
[$i]['edate_epoch']) . date('d',$entries[$i] 
['edate_epoch']); 
$this->matrix- 
>setPeriod($GLOBALS['phpgw']->strip_html($entries[$i] 
['descr']),$startd,$endd,$colors[$ind]); 

$subentries = 
$this->bo->_list 
($start,False,$query,$filter,$order,$sort,$cat_id,'subs
 
',$entries[$i]['id']); 
 


----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100372&group_id=509



reply via email to

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