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 +}