From 48b65c76aa9bbb7622ff54681636f945c11c936c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jakes=CC=8C?= Date: Tue, 13 Aug 2019 11:18:58 +0200 Subject: [PATCH] Keep SELECT clause collapsed by default in Tracy panel [MAILPOET-2216] --- lib/Tracy/DoctrinePanel/DoctrinePanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Tracy/DoctrinePanel/DoctrinePanel.php b/lib/Tracy/DoctrinePanel/DoctrinePanel.php index d2eacf0a77..8541949d74 100644 --- a/lib/Tracy/DoctrinePanel/DoctrinePanel.php +++ b/lib/Tracy/DoctrinePanel/DoctrinePanel.php @@ -50,8 +50,8 @@ class DoctrinePanel implements IBarPanel { if (count($matches) >= 5) { // if SELECT clause over 50 chars, make it wrappable $select_html = mb_strlen($matches[2]) > 50 ? ($matches[1] . ' - ... -
' . $matches[2] . '
+ ... +
' . $matches[2] . '
') : ($matches[1] . $matches[2]); $from_keyword = $matches[3]; $rest = $matches[4];