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