Skip to content

Commit 326a281

Browse files
bruschfashxp
authored andcommitted
Fixed Pimcore X compatibility
(cherry picked from commit 7b60d85)
1 parent 715d707 commit 326a281

File tree

1 file changed

+5
-0
lines changed
  • src/Model/CustomerView/FilterDefinition/Listing

1 file changed

+5
-0
lines changed

src/Model/CustomerView/FilterDefinition/Listing/Dao.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,9 @@ public function load()
4646
$this->model->setFilterDefinitions($filterDefinitions);
4747
return $filterDefinitions;
4848
}
49+
50+
public function getTotalCount()
51+
{
52+
return $this->db->fetchOne('SELECT count(*) FROM ' . FilterDefinition\Dao::TABLE_NAME . $this->getCondition() . $this->getOrder() . $this->getOffsetLimit(), $this->model->getConditionVariables());
53+
}
4954
}

0 commit comments

Comments
 (0)