biz9-logic 4.8.72 → 4.8.74

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='5.5.2'
1
+ VERSION='5.5.4'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -453,8 +453,7 @@ class Field_Logic {
453
453
  item = Field_Logic.get_value_list(item,option);
454
454
  }
455
455
  if(option.fields){
456
- let field_list = option.fields.split(',');
457
- Log.w('field_list',field_list);
456
+ let field_list = String(option.fields).split(',');
458
457
  for(let a = 0; a<field_list.length;a++){
459
458
  if(option.get_blank == true){
460
459
  item[field_list[a]] = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.72",
3
+ "version": "4.8.74",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -196,7 +196,7 @@ describe("connect", () => {
196
196
  //let product = Product_Logic.get_test({fields:["cool_beanj]})
197
197
  //Log.w("product",product);
198
198
  //let product_list = Product_Logic.get_test_list({product_count:10,get_blank:true});
199
- let product_list = Product_Logic.get_test_list({product_count:2,get_blank:false,fields:'delivery_time,apple'})
199
+ let product_list = Product_Logic.get_test_list({product_count:2,get_blank:false,fields:'delivery_time,apple,basnnah'})
200
200
  //let product_list = Product_Logic.get_test_list();
201
201
  Log.w('product_list',product_list);
202
202
  //let [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});