alsmanager_lib 3.0.150 → 3.0.151

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
@@ -3285,7 +3285,7 @@ function getDevicesByDetailsSelectSQLite(search_criteria, details) {
3285
3285
  where_clause += " and ";
3286
3286
  }
3287
3287
  }
3288
- if (details.os) {
3288
+ if (details.version) {
3289
3289
  where_clause += "(dd.version = '" + details.version + "') ";
3290
3290
  if (details.storage || details.addon || details.network || details.mac_address || details.name) {
3291
3291
  where_clause += " and ";
@@ -3461,7 +3461,7 @@ function getDevicesByDetailsSelectMySQL(search_criteria, details) {
3461
3461
  where_clause += " and ";
3462
3462
  }
3463
3463
  }
3464
- if (details.os) {
3464
+ if (details.version) {
3465
3465
  where_clause += "(dd.version = '" + details.version + "') ";
3466
3466
  if (details.storage || details.addon || details.network || details.mac_address || details.name) {
3467
3467
  where_clause += " and ";
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.150",
7
+ "version": "3.0.151",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",