Skip to content

Commit 15ef5e9

Browse files
committed
Revert changes on count.
Fix #2613
1 parent 6126356 commit 15ef5e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/QueryDataTable.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ public function count()
212212
{
213213
$builder = $this->prepareCountQuery();
214214

215-
if (empty($builder->havings)) {
216-
return $builder->count();
217-
}
218-
219215
$table = $this->connection->raw('('.$builder->toSql().') count_row_table');
220216

221217
return $this->connection->table($table)

0 commit comments

Comments
 (0)