biz9-logic 3.5.7 → 3.5.9

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 +5 -5
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.5.7'
1
+ VERSION='3.5.9'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -59,8 +59,8 @@ class BiZ_Url {
59
59
  let action_url= "main/biz_item/delete/"+item.data_type + "/" + item.id ;
60
60
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
61
61
  };
62
- static get_full_item = (biz9_config,item,parent_item,top_item) => {
63
- let action_url= "main/biz_item/get_full/"+item.data_type + "/" + item.id +"/"+parent_item.data_type + "/" + parent_item.id +"/"+top_item.data_type + "/" + top_item.id;
62
+ static get_full_item = (biz9_config,item) => {
63
+ let action_url= "main/biz_item/get_full/"+item.data_type + "/" + item.id;
64
64
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
65
65
  };
66
66
  }
@@ -154,14 +154,14 @@ 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
165
  static get_new_query_item = (item,parent_item,top_item) => {
166
166
  return {
167
167
  id: item.id ? item.id : 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.7",
3
+ "version": "3.5.9",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"