From cf97a26e2e6c80a7b81f3f290c58f1e8bdca8573 Mon Sep 17 00:00:00 2001 From: Arjay Angeles Date: Tue, 15 May 2018 17:05:45 +0800 Subject: [PATCH] Revert "[8.0] Classify join statements as a complex query." --- src/QueryDataTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryDataTable.php b/src/QueryDataTable.php index e1418f0c..270a5d19 100644 --- a/src/QueryDataTable.php +++ b/src/QueryDataTable.php @@ -162,7 +162,7 @@ protected function prepareCountQuery() */ protected function isComplexQuery($builder) { - return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by', 'join']); + return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by']); } /**