~ubuntuone-support/+junk/request-tracker

« back to all changes in this revision

Viewing changes to html/Tools/Reports/AverageResponseTime.html

  • Committer: Roman Yepishev
  • Date: 2011-02-10 15:58:44 UTC
  • Revision ID: roman.yepishev@canonical.com-20110210155844-cm8bz3sxye9rargw
Reply in transaction div should also set ticket to stalled
Negative dates are not useful.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    }
117
117
 
118
118
    while (my $ticket = $tickets->Next()) {
 
119
 
119
120
        my $Created = new Date::Manip::Date();
120
121
        $Created->parse($ticket->Created);
121
122
 
127
128
        # [y]ear...[s]econds expressed in [s]econds
128
129
        my $seconds = int($delta->printf('%sys'));
129
130
 
 
131
        if ($seconds < 0) {
 
132
            # No transaction lookup for now
 
133
            next;
 
134
        }
 
135
 
130
136
        my $subscription_type =
131
137
                lc($ticket->FirstCustomFieldValue('Subscription type'));
132
138
        if (! $subscription_type) {