biz9-logic 4.8.46 → 4.8.47

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.2.6'
1
+ VERSION='5.2.7'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -742,7 +742,7 @@ static get_test = (title,option) =>{
742
742
  for(let a=0;a<19;a++){
743
743
  let row = a + 1;
744
744
  if(!Str.check_is_null(faq['field_'+a])) {
745
- item_list.push({ id: Number.get_id(333), title:faq['field_'+a], value: String(faq[Str.get_title_url(faq['field_'+a]).toLowerCase() ]) });
745
+ item_list.push({ id: Number.get_id(333), question:faq['field_'+a], answer: String(faq[Str.get_title_url(faq['field_'+a]).toLowerCase() ]) });
746
746
  }
747
747
  }
748
748
  return item_list;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.46",
3
+ "version": "4.8.47",
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 [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});
173
173
  //Log.w('category_list',category_list);
174
174
 
175
- let product = Template_Logic.get_test({get_value:true,value_count:3,get_item:true})
176
- Log.w("product",product);
175
+ //let product = Template_Logic.get_test({get_value:true,value_count:3,get_item:true})
176
+ //Log.w("product",product);
177
177
  //Log.w("Product_section_1",product.section_1);
178
178
  //Log.w("Product_section_1_section_1_section_1",product.section_1.section_1.section_1);
179
179
  /* --PRODUCT--END */
@@ -255,13 +255,13 @@ describe("connect", () => {
255
255
  /* --FAQ--START */
256
256
  //Log.w("FAQ",Faq_Logic.get_test());
257
257
  //Log.w("FAQ List",Faq_Logic.get_test_list(Faq_Logic.get_test()));
258
- //let faq = Faq_Logic.get_test();
258
+ let faq = Faq_Logic.get_test();
259
259
  //let faq = Faq_Logic.get_test('cool 1');
260
260
  //let faq = Faq_Logic.get_test('cool 1',{count:33});
261
261
  //let faq = Business_Logic.get_test('ser 1',{question_count:33});
262
- //let faq_list = Faq_Logic.get_faq_question_list(faq);
262
+ let faq_list = Faq_Logic.get_faq_question_list(faq);
263
263
  //let faq_list = Faq_Logic.get_question_list();
264
- //Log.w('faq_list',faq_list);
264
+ Log.w('faq_list',faq_list);
265
265
  //Log.w('faq',faq);
266
266
  /*
267
267
  let review_list = Review.get_test_list({review_count:3,get_item:true})