We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be32dcb commit d1cd123Copy full SHA for d1cd123
src/app/Library/CrudPanel/Traits/Query.php
@@ -257,9 +257,9 @@ private function getCountFromQuery(Builder $query)
257
// - orders/limit/offset because we want the "full query count" where orders don't matter and limit/offset would break the total count
258
$subQuery = $crudQuery->cloneWithout(['columns', 'orders', 'limit', 'offset']);
259
260
- // re-set the previous query bindings
+ // re-set the previous query bindings
261
$subQuery->setBindings($crudQuery->getRawBindings());
262
-
+
263
// select only one column for the count
264
$subQuery->select($modelTable.'.'.$this->model->getKeyName());
265
0 commit comments