alsmanager_lib 2.0.43 → 2.0.44

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
@@ -4573,10 +4573,10 @@ function getDevicesNotAllocatedComboMySQL(id_site, id_place, sel_type, sel_maker
4573
4573
  query += "and (ds.id_place is null ";
4574
4574
  query += "or ((ds.date_in <= CURDATE() and ds.date_out >= CURDATE() and sd.type = 'MAGAZZINO')) and (ds.id_place <> :id_place and ds.id_site <> :id_site)) ";
4575
4575
  if (sel_type_str.trim() != '') {
4576
- query += "and d.type = ':dev_type' ";
4576
+ query += "and d.type = :dev_type ";
4577
4577
  }
4578
4578
  if (sel_maker_str.trim() != '') {
4579
- query += "and d.manifacturer = ':dev_manifacturer' ";
4579
+ query += "and d.manifacturer = :dev_manifacturer ";
4580
4580
  }
4581
4581
  if (ordered_by && ordered_by == "ID") {
4582
4582
  query += "order by d.id desc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alsmanager_lib",
3
- "version": "2.0.43",
3
+ "version": "2.0.44",
4
4
  "description": "Funzioni per ALSManager",
5
5
  "license": "ISC",
6
6
  "author": "Luca Cattani",