alsmanager_lib 3.0.198 → 3.0.199
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
|
@@ -16418,7 +16418,7 @@ CREATE TABLE "printer_stampe_user" (
|
|
|
16418
16418
|
*/
|
|
16419
16419
|
|
|
16420
16420
|
function selectPrinters(id_place, only_external) {
|
|
16421
|
-
var query = "select d.id, concat(d.manifacturer, ' - ', d.model, ' (', p.name, ' - ', sd.name, ' - p.no : ', s.floor, ')') as descrizione, ";
|
|
16421
|
+
var query = "select distinct d.id, concat(d.manifacturer, ' - ', d.model, ' (', p.name, ' - ', sd.name, ' - p.no : ', s.floor, ')') as descrizione, ";
|
|
16422
16422
|
query += "case ";
|
|
16423
16423
|
query += "when dg.id is not null then gf.name ";
|
|
16424
16424
|
query += "else 'Interno' ";
|