fix queue summary on RT dashboard, #41670
[freeside.git] / rt / share / html / Elements / QueueSummaryByLifecycle
index cf67a4f..8ffc844 100644 (file)
@@ -143,7 +143,8 @@ for my $queue (@queues) {
     # show whether there are unreplied tickets
     # somewhat inefficient but we only use the count query
     my $tix = $Tickets->Clone;
-    $tix->Limit(FIELD => 'Queue',
+    $tix->_SQLLimit(
+                FIELD => 'Queue',
                 OPERATOR => '=',
                 VALUE => $queue->{id});
     $queue->{Unreplied} = $tix->Count;