biz9-logic 4.8.58 → 4.8.59

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.3.8'
1
+ VERSION='5.3.9'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -471,7 +471,7 @@ class Field_Logic {
471
471
  option.section_count = option.section_count ? option.section_count : 9;
472
472
  option.get_section = option.get_section ? true : false;
473
473
  }
474
- if(option.data_type==DataType.PRODUCT){
474
+ if(data_type==DataType.PRODUCT){
475
475
  option.product_count = option.product_count ? option.product_count : 9;
476
476
  }
477
477
  if(data_type==DataType.SERVICE){
@@ -589,6 +589,10 @@ class PageType {
589
589
  static BLOG_POST_BROWSE='blog_post_browse';
590
590
  static BLOG_POST_DETAIL='blog_post_detail';
591
591
 
592
+ static CATEGORY='category';
593
+ static CATEGORY_BROWSE='category_browse';
594
+ static CATEGORY_DETAIL='category_detail';
595
+
592
596
  static EVENT='event';
593
597
  static EVENT_BROWSE='event_browse';
594
598
  static EVENT_DETAIL='event_detail';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.58",
3
+ "version": "4.8.59",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -172,8 +172,8 @@ describe("connect", () => {
172
172
  //let product = Product_Logic.get_test({fields:["cool_beanj]})
173
173
  //Log.w("product",product);
174
174
  //let product_list = Product_Logic.get_test_list({product_count:10,get_blank:true});
175
- //let product_list = Product_Logic.get_test_list();
176
- //Log.w('product_list',product_list);
175
+ let product_list = Product_Logic.get_test_list();
176
+ Log.w('product_list',product_list);
177
177
  //let [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});
178
178
  //Log.w('category_list',category_list);
179
179
 
@@ -277,7 +277,7 @@ describe("connect", () => {
277
277
 
278
278
  /* --REVIEW--START */
279
279
  //Log.w("Review",Review.get_test());
280
- Log.w("Review List",Review_Logic.get_test_list());
280
+ //Log.w("Review List",Review_Logic.get_test_list());
281
281
  /*
282
282
  let review_list = Review.get_test_list({review_count:3,get_item:true})
283
283
  Log.w("Review List",review_list);