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.
- package/lib/modules.js +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
|
|
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
|
|
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
|
}
|