From 70d424686671d50f139c7185333d8832a851731e Mon Sep 17 00:00:00 2001 From: David Grudl Date: Wed, 14 Oct 2020 22:22:20 +0200 Subject: [PATCH] Tracy\Panel: table is sortable --- src/Dibi/Bridges/Tracy/Panel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dibi/Bridges/Tracy/Panel.php b/src/Dibi/Bridges/Tracy/Panel.php index 19fcbc50..1b1f88eb 100644 --- a/src/Dibi/Bridges/Tracy/Panel.php +++ b/src/Dibi/Bridges/Tracy/Panel.php @@ -131,7 +131,7 @@ class Panel implements Tracy\IBarPanel [$connection->onEvent, \dibi::$numOfQueries, \dibi::$totalTime] = $backup; } - $s .= '' . number_format($event->time * 1000, 3, '.', ' '); + $s .= '' . number_format($event->time * 1000, 3, '.', ' '); if ($explain) { static $counter; $counter++; @@ -159,7 +159,7 @@ class Panel implements Tracy\IBarPanel . ($totalTime === null ? '' : ', time: ' . number_format($totalTime * 1000, 1, '.', ' ') . ' ms') . ', ' . htmlspecialchars($this->getConnectionName($singleConnection)) . '
- +
' . (!$singleConnection ? '' : '') . ' ' . $s . '
Time msSQL StatementRowsConnection