commit 25506a7ace5ab4f4f5df1d778be420b74500e607 from: Tracey Emery date: Thu May 12 19:59:11 2022 UTC fix count query commit - 09781b071f68dafea5a0e82ae2aff67b0886ff3f commit + 25506a7ace5ab4f4f5df1d778be420b74500e607 blob - 6cd5147b0ce8cc30e0a35cddd2ffbdd290822cac blob + 42e103e5bba7af58d62129703c67263662742287 --- module/Securitx/src/Model/DownloadsTable.php +++ module/Securitx/src/Model/DownloadsTable.php @@ -19,7 +19,10 @@ class DownloadsTable { return $row; } public function getCount($u_key) { - return $this->tableGateway->select(['u_key' => $u_key])->count(); + return $this->tableGateway->select([ + 'u_key' => $u_key, + 'company_id' => 0, + ])->count(); } public function getCCount($c_id) { return $this->tableGateway->select([