Skip to content

Commit ba88423

Browse files
committed
make prepareCountQuery() public so its easy to test
1 parent 6d8b2fb commit ba88423

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
@@ -224,7 +224,7 @@ public function count()
224224
*
225225
* @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder
226226
*/
227-
protected function prepareCountQuery()
227+
public function prepareCountQuery()
228228
{
229229
$builder = clone $this->query;
230230

0 commit comments

Comments
 (0)