diff --git a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js index d7fc1bfc18e31d699109c9630c2e42c371e22c1f..49f6fdde84face75fc6e053c5814c36cd955c6b0 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 5b63780f455697c2e6f7041afeab65e4be5af169..90a5234ad36788b21d38e28fc9b9708192a91597 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 0dc0f4e7797dc212ab0a9c9c79561a627e70fa23..5baa6ba7c6517bb00640530ffbcd085e759eaaa0 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)) {