biz9-logic 4.8.138 → 4.8.139

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 +4 -4
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.1.8'
1
+ VERSION='6.1.9'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1112,7 +1112,7 @@ class Favorite_Logic {
1112
1112
  }
1113
1113
  }
1114
1114
  class Review_Logic {
1115
- static get_new = (parent_data_type,parent_id,user,review) =>{
1115
+ static get_new = (parent_data_type,parent_id,user,title,comment,rating) =>{
1116
1116
  if(!review){
1117
1117
  review = {};
1118
1118
  }
@@ -1126,9 +1126,9 @@ class Review_Logic {
1126
1126
  last_name:user.last_name ? user.last_name : "",
1127
1127
  location:user.country ? User_Logic.get_user_country_state_city(user) : "",
1128
1128
 
1129
- title:review.title ? review.title : "",
1130
- comment:review.comment ? review.comment : "",
1131
- rating:review.rating ? review.rating : ""
1129
+ title:title ? title : "",
1130
+ comment:comment ? comment : "",
1131
+ rating:rating ? rating : ""
1132
1132
  });
1133
1133
  }
1134
1134
  static get_search_filter = (parent_data_type,parent_id) =>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.138",
3
+ "version": "4.8.139",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"