alsmanager_lib 3.0.46 → 3.0.47
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 +1 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -1395,7 +1395,7 @@ function getDocentiCombo(db_used, id_place, ordine_scuola, ruolo) {
|
|
|
1395
1395
|
var query = "select id, concat(cognome, ' ', nome, ' - ', ordine, ' - ', ruolo) as nominativo from anagrafica_docenti ";
|
|
1396
1396
|
query += "where is_attivo = 1 "
|
|
1397
1397
|
if (ordine_scuola && ordine_scuola.trim() != '') {
|
|
1398
|
-
query += "and (ordine = '" +
|
|
1398
|
+
query += "and (ordine = '" + ordine_scuola + "' or ruolo <> 'DOCENTE') ";
|
|
1399
1399
|
}
|
|
1400
1400
|
if (id_place && id_place.trim() != '') {
|
|
1401
1401
|
query += "and id_place = '" + id_place + "' ";
|