@optimiser/common 1.0.251 → 1.0.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,7 +257,8 @@ function GetPageFieldData(pageName, db, mdb, msp_d, next, callback) {
257
257
  ExtraLookupFields: [
258
258
  "UserStatus",
259
259
  "IsAppUser"
260
- ]
260
+ ],
261
+ OnLinkRender: "if(lookupRecord.IsAppUser==true){isHyperlink=false;}"
261
262
  }
262
263
  };
263
264
  createdDateObj = {
@@ -295,7 +296,8 @@ function GetPageFieldData(pageName, db, mdb, msp_d, next, callback) {
295
296
  ExtraLookupFields: [
296
297
  "UserStatus",
297
298
  "IsAppUser"
298
- ]
299
+ ],
300
+ OnLinkRender: "if(lookupRecord.IsAppUser==true){isHyperlink=false;}"
299
301
  }
300
302
  };
301
303
  modDateObj = {
@@ -1695,8 +1697,10 @@ function CheckDataBeforeUpdate(updateObj, objectData, objectSchema, db) {
1695
1697
  if (fieldSchema.UIDataType == 'multiselect' || fieldSchema.UIDataType == 'multilookup') {
1696
1698
  isSame = IsEqualArrays(oldValue, newValue);
1697
1699
  }
1698
- else
1699
- isSame = IsEqualValue(oldValue, newValue);
1700
+ else {
1701
+ if (fldName !== "ModifiedBy")
1702
+ isSame = IsEqualValue(oldValue, newValue);
1703
+ }
1700
1704
  if (!isSame) return [3 /*break*/, 3];
1701
1705
  delete updateObj[fldName];
1702
1706
  return [3 /*break*/, 5];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.251",
3
+ "version": "1.0.252",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {