alsmanager_lib 3.0.186 → 3.0.187
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
|
@@ -11602,13 +11602,13 @@ function queryVisibleGroupByIdDevice(db_used,id_device) {
|
|
|
11602
11602
|
//End Get visible groups by id
|
|
11603
11603
|
//Get hidden groups by id
|
|
11604
11604
|
function queryHiddenGroupByIdDeviceSQLite(id_device) {
|
|
11605
|
-
var query = "select
|
|
11605
|
+
var query = "select distinct pv.group_name from properties_visible pv ";
|
|
11606
11606
|
query += "join devices d on d.type <> pv.tipo ";
|
|
11607
11607
|
query += "where d.id = " + id_device;
|
|
11608
11608
|
return query;
|
|
11609
11609
|
}
|
|
11610
11610
|
function queryHiddenGroupByIdDeviceMySQL(id_device) {
|
|
11611
|
-
var query = "select
|
|
11611
|
+
var query = "select distinct pv.group_name from properties_visible pv ";
|
|
11612
11612
|
query += "join devices d on d.type <> pv.tipo ";
|
|
11613
11613
|
query += "where d.id = :id_device";
|
|
11614
11614
|
return query;
|