biz9-logic 3.5.7 → 3.5.8

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.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +3 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.5.7'
1
+ VERSION='3.5.8'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -154,11 +154,12 @@ class CMS {
154
154
  return {
155
155
  id: item.id ? item.id : 0,
156
156
  data_type:item.data_type ? item.data_type : DataType.DT_BLANK,
157
+
157
158
  parent_id:item.parent_id ? item.parent_id : 0,
158
159
  parent_data_type:item.parent_data_type ? item.parent_data_type : DataType.DT_BLANK,
159
160
 
160
- top_id:top_item.id ? top_item.id : 0,
161
- top_data_type:top_item.data_type ? top_item.data_type : DataType.DT_BLANK
161
+ top_id:item.top_id ? item.top_id : 0,
162
+ top_data_type:item.top_data_type ? item.top_data_type : DataType.DT_BLANK
162
163
  }
163
164
  };
164
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.7",
3
+ "version": "3.5.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"