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.
Files changed (2) hide show
  1. package/lib/modules.js +2 -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.version = '" + details.version + "') ";
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.version = '" + details.version + "') ";
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
  }
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.154",
7
+ "version": "3.0.155",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",