alsmanager_lib 3.0.47 → 3.0.48

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 +1 -1
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -1398,7 +1398,7 @@ function getDocentiCombo(db_used, id_place, ordine_scuola, ruolo) {
1398
1398
  query += "and (ordine = '" + ordine_scuola + "' or ruolo <> 'DOCENTE') ";
1399
1399
  }
1400
1400
  if (id_place && id_place.trim() != '') {
1401
- query += "and id_place = '" + id_place + "' ";
1401
+ query += "and (id_place = '" + id_place + "' or id_place is null) ";
1402
1402
  }
1403
1403
  if (ruolo && ruolo.trim() != '') {
1404
1404
  query += "and ruolo = '" + ruolo + "' ";
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.47",
7
+ "version": "3.0.48",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",