alsmanager_lib 2.0.84 → 2.0.85

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
@@ -8441,12 +8441,12 @@ function checkDocumentoDevice(db_used, id_device, id_doc) {
8441
8441
  }
8442
8442
 
8443
8443
  function getDocumentByIdDocSQLite(id_doc) {
8444
- var query = "select c.id, c.tipo, c.data_emissione, c.descrizione, c.riferimento, c.nome_originale, c.nome_uuid from documenti c ";
8444
+ var query = "select c.id, c.tipo, c.anno, c.data_emissione, c.descrizione, c.riferimento, c.nome_originale, c.nome_uuid from documenti c ";
8445
8445
  query += "where c.id = " + id_doc;
8446
8446
  return query;
8447
8447
  }
8448
8448
  function getDocumentByIdDocMySQL(id_doc) {
8449
- var query = "select c.id, c.tipo, c.data_emissione, c.descrizione, c.riferimento, c.nome_originale, c.nome_uuid from documenti c ";
8449
+ var query = "select c.id, c.tipo, c.anno, c.data_emissione, c.descrizione, c.riferimento, c.nome_originale, c.nome_uuid from documenti c ";
8450
8450
  query += "where c.id = :id_doc";
8451
8451
  return query;
8452
8452
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  ".": "./lib/modules.js",
5
5
  "./dbconn": "./lib/dbconn.js"
6
6
  },
7
- "version": "2.0.84",
7
+ "version": "2.0.85",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",