alsmanager_lib 3.0.188 → 3.0.190

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
@@ -11571,12 +11571,12 @@ function queryDetailsByIdDevice(db_used,id_device) {
11571
11571
  //End Get details by type
11572
11572
  //Get visible groups by id
11573
11573
  function queryVisibleGroupByTypeSQLite(dev_type) {
11574
- var query = "select pv.tipo, pv.group_name from properties_visible pv ";
11574
+ var query = "select distinct pv.group_name from properties_visible pv ";
11575
11575
  query += "where pv.tipo = '" + dev_type + "'";
11576
11576
  return query;
11577
11577
  }
11578
11578
  function queryVisibleGroupByTypeMySQL() {
11579
- var query = "select pv.tipo, pv.group_name from properties_visible pv ";
11579
+ var query = "select distinct pv.group_name from properties_visible pv ";
11580
11580
  query += "where pv.tipo = :dev_type";
11581
11581
  return query;
11582
11582
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "3.0.188",
7
+ "version": "3.0.190",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",