fix ports with dashes (-) not showing their monitoring status, RT#14926
[freeside.git] / httemplate / search / rt_ticket.html
index 62fcce2..abe1315 100644 (file)
                                         &{ $format_seconds_sub }( $seconds );
                                       },
                                 ],
+             'sort_fields'   => [ 'ticketid',
+                                  'subject',
+                                  'transaction_time',
+                                  'support_time',
+                                ],
              'links'         => [
                                   $link,
                                   $link,
@@ -62,7 +67,7 @@ my $twhere = "
     AND (    ( Transactions.Type = 'Set'
                AND Transactions.Field = 'TimeWorked'
                AND Transactions.NewValue != Transactions.OldValue )
-          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' )
+          OR ( ( Transactions.Type='Create' OR Transactions.Type='Comment' OR Transactions.Type='Correspond' OR Transactions.Type='Touch' )
                AND Transactions.TimeTaken > 0
              )
         )