Skip to content

Commit 901539d

Browse files
Fixing postgresql grouping problems as described in issue #3
1 parent b62ea1d commit 901539d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveControl/EloquentDataTable/DataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ public function make()
102102

103103
$this->addSelect();
104104
$this->addFilters();
105-
$this->addOrderBy();
106105

107106
$this->filtered = $this->builder->count();
108107

108+
$this->addOrderBy();
109109
$this->addLimits();
110110

111111
$this->rows = $this->builder->get();

0 commit comments

Comments
 (0)