Commit 18a71d0e by NGUYEN HOANG SON

fix sortIndex default : START_DATE_DESC

parent 4c3d5e0b
...@@ -427,6 +427,9 @@ CHK.initCommon = function() { ...@@ -427,6 +427,9 @@ CHK.initCommon = function() {
CHK.isRFIDBarcodeScan = urlParam.isRFIDBarcodeScan && urlParam.isRFIDBarcodeScan == "1"; CHK.isRFIDBarcodeScan = urlParam.isRFIDBarcodeScan && urlParam.isRFIDBarcodeScan == "1";
CHK.isOperationGroupMaster = urlParam.isOperationGroupMaster && urlParam.isOperationGroupMaster == "1"; CHK.isOperationGroupMaster = urlParam.isOperationGroupMaster && urlParam.isOperationGroupMaster == "1";
if (typeof CHK.sortIndex == 'undefined') CHK.sortIndex = urlParam.sortIndex; if (typeof CHK.sortIndex == 'undefined') CHK.sortIndex = urlParam.sortIndex;
if (typeof CHK.sortIndex == 'undefined') {
CHK.sortIndex = CHK_CONSTANT.SORT_TYPE.START_DATE_DESC;
}
CHK.lang = urlParam.lang; CHK.lang = urlParam.lang;
CHK.debug = urlParam.debug; CHK.debug = urlParam.debug;
CHK.isMobile = urlParam.mobile_flg && urlParam.mobile_flg == "1"; CHK.isMobile = urlParam.mobile_flg && urlParam.mobile_flg == "1";
......
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