consider "Touch" transactions for time worked too, doh
authorivan <ivan>
Thu, 9 Feb 2012 11:11:10 +0000 (11:11 +0000)
committerivan <ivan>
Thu, 9 Feb 2012 11:11:10 +0000 (11:11 +0000)
httemplate/search/timeworked.html

index e810822..bbfd033 100644 (file)
@@ -78,9 +78,7 @@ my $groupby = join(',', @groupby);
 my $where = "
   WHERE ObjectType='RT::Ticket'
     AND ( ( Transactions.Type='Set' AND Field='TimeWorked' )
-          OR Transactions.Type='Create'
-          OR Transactions.Type='Comment'
-          OR Transactions.Type='Correspond'
+          OR Transactions.Type IN ( 'Create', 'Comment', 'Correspond', 'Touch' )
         )
     AND $wheretimeleft
 ";