From fdb27e034d4f7018c2dabf4bf798fc67530259d2 Mon Sep 17 00:00:00 2001
From: Sebastian Listl <s.listl@adito.de>
Date: Wed, 17 Nov 2021 17:38:08 +0100
Subject: [PATCH] 1067232 improved naming

---
 .../recordcontainers/jdito/contentProcess.js                | 2 +-
 .../WorkflowStartConfigEdit_view.aod                        | 2 +-
 process/Util_lib/process.js                                 | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js
index d7fc1bfc18..49f6fdde84 100644
--- a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js
+++ b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js
@@ -258,7 +258,7 @@ function AttributeSorter (pSortOrder)
             }
             return orderMap;
         }, new Map());
-        var sortFn = ArrayUtils.getMultiSortFn(sortOrder);
+        var sortFn = ArrayUtils.getMultiSortCompareFn(sortOrder);
         
         this.sort = function (pArray)
         {
diff --git a/neonView/WorkflowStartConfigEdit_view/WorkflowStartConfigEdit_view.aod b/neonView/WorkflowStartConfigEdit_view/WorkflowStartConfigEdit_view.aod
index 5b63780f45..90a5234ad3 100644
--- a/neonView/WorkflowStartConfigEdit_view/WorkflowStartConfigEdit_view.aod
+++ b/neonView/WorkflowStartConfigEdit_view/WorkflowStartConfigEdit_view.aod
@@ -10,7 +10,7 @@
   </layout>
   <children>
     <genericViewTemplate>
-      <name>Generic</name>
+      <name>StartConfig</name>
       <editMode v="true" />
       <fields>
         <entityFieldLink>
diff --git a/process/Util_lib/process.js b/process/Util_lib/process.js
index 0dc0f4e779..5baa6ba7c6 100644
--- a/process/Util_lib/process.js
+++ b/process/Util_lib/process.js
@@ -991,7 +991,7 @@ ArrayUtils.sortArrayOfObjects = function(targetArray, key, sortAsc, isNumber) {
 */
 ArrayUtils.sortMulti = function(pTargetArray, pSortOrder) 
 {
-    var sortFn = ArrayUtils.getMultiSortFn(ArrayUtils.chunk(pSortOrder, 2));
+    var sortFn = ArrayUtils.getMultiSortCompareFn(ArrayUtils.chunk(pSortOrder, 2));
 
     pTargetArray.sort(sortFn);
     return pTargetArray;
@@ -1004,12 +1004,12 @@ ArrayUtils.sortMulti = function(pTargetArray, pSortOrder)
 *                           array with the format [[columnIndex1, direction1], [columnIndex2, direction2], ...],
 *                           the columnIndex must be an integer, direction must be boolean (true -> descending, just like db.DESCENDING)
 * @example
-* var sortFn = ArrayUtils.getMultiSortFn([[1, true], [2, true], [5, false]]);
+* var sortFn = ArrayUtils.getMultiSortCompareFn([[1, true], [2, true], [5, false]]);
 * rows.sort(sortFn);
 *
 * @return {void}
 */
-ArrayUtils.getMultiSortFn = function (pSortOrder)
+ArrayUtils.getMultiSortCompareFn = function (pSortOrder)
 {
     if (Array.isArray(pSortOrder))
     {
-- 
GitLab