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.
2 parents cfae596 + 32e652f commit 7d90bfcCopy full SHA for 7d90bfc
src/dba/AbstractModelFactory.class.php
@@ -500,18 +500,6 @@ public function countFilter($options) {
500
$query .= $this->applyFilters($vals, $options['filter']);
501
}
502
503
- if (!array_key_exists("order", $options)) {
504
- // Add a asc order on the primary keys as a standard
505
- $oF = new OrderFilter($this->getNullObject()->getPrimaryKey(), "ASC");
506
- $orderOptions = array(
507
- $oF
508
- );
509
- $options['order'] = $orderOptions;
510
- }
511
- if (count($options['order']) != 0) {
512
- $query .= $this->applyOrder($options['order']);
513
514
-
515
$dbh = self::getDB();
516
$stmt = $dbh->prepare($query);
517
$stmt->execute($vals);
0 commit comments