From 9eb8ea06ee2510ef6e23f41aed5da5b9f5e3e1e6 Mon Sep 17 00:00:00 2001 From: Nico Schett Date: Tue, 14 May 2024 11:28:27 +0200 Subject: [PATCH] WIP: kassabuch --- src/pages/kassabuch/[registerId].tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/kassabuch/[registerId].tsx b/src/pages/kassabuch/[registerId].tsx index 686a5df..920fe5a 100644 --- a/src/pages/kassabuch/[registerId].tsx +++ b/src/pages/kassabuch/[registerId].tsx @@ -70,6 +70,7 @@ import { PaymentMethodType, PaymentMethodTypeInput, RegisterType, + SortOrderInput, Tax, TaxType, TaxTypeInput, @@ -679,6 +680,7 @@ export const DataTableDemo: React.FC<{ registerId: number }> = (props) => { } : {}, }, + orderBy: [{ timestamp: asEnumKey(SortOrderInput, "asc") }], }).nodes; return nodes.map((transaction: Transaction) => {