Commit 686bb4df by NGUYEN HOANG SON

Merge branch 'feature/1.4.510_48155' into 'feature/1.4.510'

#48155 : fix operation list sort by report type asc

See merge request !23
parents 10f87702 13aff343
......@@ -3201,8 +3201,8 @@ CHK.createOperationList = function(operationList, isSearched = false) {
break;
case CHK_CONSTANT.SORT_TYPE.TYPE:
operationList.sort(function(a,b) {
if (a.operationType < b.operationType) return 1;
if (a.operationType > b.operationType) return -1;
if (a.reportType > b.reportType) return 1;
if (a.reportType < b.reportType) return -1;
return 0;
});
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment