alsmanager_lib 3.0.154 → 3.0.155
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
|
@@ -3286,7 +3286,7 @@ function getDevicesByDetailsSelectSQLite(search_criteria, details) {
|
|
|
3286
3286
|
}
|
|
3287
3287
|
}
|
|
3288
3288
|
if (details.version) {
|
|
3289
|
-
where_clause += "(dd.
|
|
3289
|
+
where_clause += "(dd.os_version = '" + details.version + "') ";
|
|
3290
3290
|
if (details.storage || details.addon || details.network || details.mac_address || details.name) {
|
|
3291
3291
|
where_clause += " and ";
|
|
3292
3292
|
}
|
|
@@ -3462,7 +3462,7 @@ function getDevicesByDetailsSelectMySQL(search_criteria, details) {
|
|
|
3462
3462
|
}
|
|
3463
3463
|
}
|
|
3464
3464
|
if (details.version) {
|
|
3465
|
-
where_clause += "(dd.
|
|
3465
|
+
where_clause += "(dd.os_version = '" + details.version + "') ";
|
|
3466
3466
|
if (details.storage || details.addon || details.network || details.mac_address || details.name) {
|
|
3467
3467
|
where_clause += " and ";
|
|
3468
3468
|
}
|