alsmanager_lib 1.0.54 → 1.0.55

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 (2) hide show
  1. package/lib/modules.js +2 -2
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -7126,7 +7126,7 @@ function getBenchmarkById(db_used, id_device) {
7126
7126
  }
7127
7127
 
7128
7128
  function getBenchmarkPercentageByIdSQLite(id_device) {
7129
- var query = "select ";
7129
+ var query = "select id_device, total_ref, evaluation_perfs, ";
7130
7130
  query += "case ";
7131
7131
  query += "when total_ref is not null and total_ref > 0 then (evaluation_perfs/total_ref) * 100 ";
7132
7132
  query += "else 0 ";
@@ -7136,7 +7136,7 @@ function getBenchmarkPercentageByIdSQLite(id_device) {
7136
7136
  }
7137
7137
 
7138
7138
  function getBenchmarkPercentageByIdMySQL(id_device) {
7139
- var query = "select ";
7139
+ var query = "select id_device, total_ref, evaluation_perfs, ";
7140
7140
  query += "case ";
7141
7141
  query += "when total_ref is not null and total_ref > 0 then (evaluation_perfs/total_ref) * 100 ";
7142
7142
  query += "else 0 ";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alsmanager_lib",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "Funzioni per ALSManager",
5
5
  "license": "ISC",
6
6
  "author": "Luca Cattani",