[rt-devel] 242 Time left calculations appear flaky

Sean Walberg SWalberg at exchange.hsc.mb.ca
Tue Mar 13 13:21:33 EST 2001


I'm not sure it fixes the problem completely, but it seems to do the trick.

Sean

[root at perfman Elements]# pwd
/usr/local/rt2/WebRT/html/Ticket/Elements
[root at perfman Elements]# diff -uNr ShowBasics.orig  ShowBasics
--- ShowBasics.orig     Tue Mar 13 12:20:05 2001
+++ ShowBasics  Tue Mar 13 12:20:49 2001
@@ -21,7 +21,7 @@
 <%INIT>
 my $TimeWorked = $Ticket->TimeWorked;
 if ($Ticket->TimeLeft > 0 ) {
-        $TimeWorked =
$Ticket->TimeWorked."/".($Ticket->TimeLeft+$Ticket->TimeWorked);
+        $TimeWorked = $Ticket->TimeWorked."/".($Ticket->TimeLeft);
 }
 </%INIT>
 <%ARGS>

--
Sean Walberg <swalberg at hsc.mb.ca>
Communications Eng, Comm & Info Svcs
Health Sciences Centre [204-787-1010]





More information about the Rt-devel mailing list