alsmanager_lib 3.0.97 → 3.0.98

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 +3 -3
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -11719,7 +11719,7 @@ function getSitesSelectComboExcludeIdSQLite(id_place, id_site, date_ref) {
11719
11719
  }
11720
11720
  query += "and s.id <> " + id_site + " ";
11721
11721
  query += "and s.id_place = '" + id_place +"' ";
11722
- query += "order by sd.name ";
11722
+ query += "order by s.floor, sd.name ";
11723
11723
  return query;
11724
11724
  }
11725
11725
 
@@ -11734,7 +11734,7 @@ function getSitesSelectComboExcludeIdMySQL(id_place, id_site, date_ref) {
11734
11734
  }
11735
11735
  query += "and s.id <> :id_site ";
11736
11736
  query += "and s.id_place = :id_place ";
11737
- query += "order by sd.name ";
11737
+ query += "order by s.floor, sd.name ";
11738
11738
  return query;
11739
11739
  }
11740
11740
 
@@ -11749,7 +11749,7 @@ function getSitesSelectComboExcludeIdMySQL2(id_place, id_site, date_ref) {
11749
11749
  }
11750
11750
  query += "and s.id <> " + id_site + " ";
11751
11751
  query += "and s.id_place = '" + id_place +"' ";
11752
- query += "order by sd.name ";
11752
+ query += "order by s.floor, sd.name ";
11753
11753
  return query;
11754
11754
  }
11755
11755
 
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.97",
7
+ "version": "3.0.98",
8
8
  "description": "Funzioni per ALSManager",
9
9
  "license": "ISC",
10
10
  "author": "Luca Cattani",