Skip to content

Commit 2df6fc1

Browse files
authored
Merge pull request #1741 from yajra/revert-1737-patch-count-query
Revert "[8.0] Classify join statements as a complex query."
2 parents 6a44c00 + cf97a26 commit 2df6fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ protected function prepareCountQuery()
162162
*/
163163
protected function isComplexQuery($builder)
164164
{
165-
return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by', 'join']);
165+
return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by']);
166166
}
167167

168168
/**

0 commit comments

Comments
 (0)