From c9dc684e213d6d8116038a82ed5be1e513eac098 Mon Sep 17 00:00:00 2001
From: "v.broens" <v.broens@VBROENS.aditosoftware.local>
Date: Wed, 27 Oct 2021 16:33:22 +0200
Subject: [PATCH] =?UTF-8?q?[Projekt:=20xRM-Service][TicketNr.:=202001774][?=
 =?UTF-8?q?Fehler=20in=20der=20Aktion=20N=C3=A4chstes=20Ticket=20ziehen=20?=
 =?UTF-8?q?von=20Service=20Dashboard]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../entityfields/pullnextticket/onActionProcess.js               | 1 +
 1 file changed, 1 insertion(+)

diff --git a/entity/SupportTicket_entity/entityfields/pullnextticket/onActionProcess.js b/entity/SupportTicket_entity/entityfields/pullnextticket/onActionProcess.js
index b6abe33312..0384c4d52a 100644
--- a/entity/SupportTicket_entity/entityfields/pullnextticket/onActionProcess.js
+++ b/entity/SupportTicket_entity/entityfields/pullnextticket/onActionProcess.js
@@ -36,6 +36,7 @@ else
 {
     var myRules = new SqlBuilder()
                   .selectDistinct("EMPLOYEEGROUP.COND")
+                  .from("EMPLOYEEGROUP")
                   .join("EMPLOYEEGROUP_CONTACT_RELATION","EMPLOYEEGROUP_CONTACT_RELATION.EMPLOYEEGROUP_ID = employeegroup.EMPLOYEEGROUPID")
                   .join("EMPLOYEEGROUP_RULEGROUP_RELATION","EMPLOYEEGROUP.EMPLOYEEGROUPID = EMPLOYEEGROUP_RULEGROUP_RELATION.EMPLOYEEGROUP_ID")
                   .join("EMPLOYEEGROUP_RULEGROUP","EMPLOYEEGROUP_RULEGROUP.EMPLOYEEGROUP_RULEGROUPID = EMPLOYEEGROUP_RULEGROUP_RELATION.EMPLOYEEGROUP_RULEGROUP_ID")
-- 
GitLab