biz9-logic 4.0.39 → 4.0.40

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.
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='4.3.9'
1
+ VERSION='4.4.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -674,7 +674,7 @@ class Category {
674
674
  DataItem.get_new(DataType.CATEGORY,0),
675
675
  DataItem.get_new(DataType.CATEGORY,0),
676
676
  Field.get_test("Category " +Number.get_id()));
677
- category.type = Category.get_category_list()[Number.get_id(category_list.length-1)].data_type;
677
+ category.type = Category.get_category_list()[Number.get_id(Category.get_category_list().length-1)].data_type;
678
678
  return category;
679
679
  }
680
680
  static get_test_list=(option)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.0.39",
3
+ "version": "4.0.40",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -62,9 +62,15 @@ describe("connect", () => {
62
62
  //Log.w("BLog_Post_section_1_section_1_section_1",blog_post.section_1.section_1.section_1);
63
63
  /* --BLOG_POST--END */
64
64
 
65
+ /* --CATEGORY--START */
66
+ let category_list=Category.get_test_list({category_count:5,product_count:9,get_value:false,get_item:false});
67
+ Log.w('category_list',category_list);
68
+ /* --CATEGORY--END */
69
+
70
+
65
71
  /* --PRODUCT--START */
66
- let product_list=Product.get_test_list({category_count:5,product_count:9,get_value:false,get_item:false});
67
- Log.w('product_list',product_list);
72
+ //let product_list=Product.get_test_list({category_count:5,product_count:9,get_value:false,get_item:false});
73
+ //Log.w('product_list',product_list);
68
74
  //let [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});
69
75
  //Log.w('category_list',category_list);
70
76