From 72f33069497bf9ed4927d3ca7e0d208ae22961e4 Mon Sep 17 00:00:00 2001 From: Gabi DJ Date: Mon, 11 Jun 2018 17:48:21 +0300 Subject: [PATCH] fixed user count issue --- CHANGELOG.md | 20 ++++++++++++++++++++ src/User/src/Mapper/UserDbMapper.php | 1 - 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d93d76..b0da6ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 1.0.1 - 2018-06-04 + +User listing bug fix + +### Changed +* Nothing + +### Added +* Nothing + +### Deprecated +* Nothing + +### Removed +* Nothing + +### Fixed +* User pagination count issue (#32) + + ## 1.0.0 - 2018-06-04 Migration to Zend-Expressive 3 diff --git a/src/User/src/Mapper/UserDbMapper.php b/src/User/src/Mapper/UserDbMapper.php index 1c6252a..e6e3000 100644 --- a/src/User/src/Mapper/UserDbMapper.php +++ b/src/User/src/Mapper/UserDbMapper.php @@ -74,7 +74,6 @@ public function find(string $type = 'all', array $options = []): array */ public function count(string $type = 'all', array $options = []): int { - $this->insertUserDetailsJoin($options); return parent::count($type, $options); }