From 4cfa7347e97b013db60ed8f57d2596ef0a048906 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Fri, 18 Sep 2020 12:08:09 +0200 Subject: [PATCH] ascending order for invoice items in command (#1980) --- src/Command/InvoiceCreateCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Command/InvoiceCreateCommand.php b/src/Command/InvoiceCreateCommand.php index 723db3e6..cbb0f682 100644 --- a/src/Command/InvoiceCreateCommand.php +++ b/src/Command/InvoiceCreateCommand.php @@ -238,6 +238,7 @@ class InvoiceCreateCommand extends Command // =============== VALIDATION END =============== $defaultQuery = new InvoiceQuery(); + $defaultQuery->setOrder(InvoiceQuery::ORDER_ASC); $defaultQuery->setBegin($start); $defaultQuery->setEnd($end); $defaultQuery->setCurrentUser($user);