From 6da692d45491bd401cb060b362263d6bbace279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Mon, 20 Sep 2021 16:04:36 +0000 Subject: [PATCH] Update Service.php (#1034) --- src/bb-modules/Invoice/Service.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bb-modules/Invoice/Service.php b/src/bb-modules/Invoice/Service.php index 086630db0..64f4b4b26 100644 --- a/src/bb-modules/Invoice/Service.php +++ b/src/bb-modules/Invoice/Service.php @@ -130,7 +130,7 @@ class Service implements InjectionAwareInterface $params['search'] = $search; } - $sql .= ' ORDER BY p.id DESC'; + $sql .= ' GROUP BY p.id ORDER BY p.id DESC'; return array($sql, $params); } @@ -1494,4 +1494,4 @@ class Service implements InjectionAwareInterface } return false; } -} \ No newline at end of file +}