From 0a2afeb91d1ff61f9d9446999f8550969871becf Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Mon, 17 Nov 2025 16:27:49 +0000
Subject: [PATCH] GS-2373
---
lib/libLp.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/libLp.js b/lib/libLp.js
index f5eac83..1198dd3 100644
--- a/lib/libLp.js
+++ b/lib/libLp.js
@@ -24,6 +24,8 @@
const newStatus = auswerten(unterStatusse)
const status_changed = _.max(items.map(u => u.status_changed))
+ console.log({unterStatusse,newStatus,items})
+
const {usr_id, login, firstname, lastname,} = items[0]
const newItem = {
usr_id, login, firstname, lastname, status: newStatus, status_changed
@@ -57,7 +59,7 @@
}
// Fall 4: wenn eines in Bearbeitung -> in Bearbeitung // 0,1,0 2,1,2
- if (unterStatusse.some(u => u === 1)) {
+ if (unterStatusse.some(u => u === 1 || u === 2)) {
return 1
}
--
Gitblit v1.8.0