From 8103ba6f669b7c904a1be9f203b586d658a12d68 Mon Sep 17 00:00:00 2001 From: Sven Carstensen Date: Tue, 2 Apr 2024 15:36:39 +0200 Subject: [PATCH] =?UTF-8?q?Filter=20f=C3=BCr=20das=20Log=20erweitert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tools/mqtt_core.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/mqtt_core.dart b/lib/tools/mqtt_core.dart index 2463a64..9ff6a83 100644 --- a/lib/tools/mqtt_core.dart +++ b/lib/tools/mqtt_core.dart @@ -315,7 +315,7 @@ class MqttCore { void _messageUploadDeviceLogReceived(payloadData) async { var deviceLogRequest = DeviceLogRequest.fromJson(payloadData); - var logEintries = await MyApp.isarInstance.logEntrys.filter().timeGreaterThan(deviceLogRequest.startDateTime).findAll(); + var logEintries = await MyApp.isarInstance.logEntrys.filter().timeGreaterThan(deviceLogRequest.startDateTime).timeLessThan(deviceLogRequest.endDateTime).findAll(); var deviceLog = DeviceLogResponse(); deviceLog.entries = logEintries;