Add network graph for the home page
This commit is contained in:
@ -71,7 +71,11 @@ abstract class FE_Charts {
|
||||
|
||||
static async getAllHouses() {
|
||||
let houses = null;
|
||||
await House.findAll().then(results => {
|
||||
await House.findAll({
|
||||
order: [
|
||||
["Id_House", "ASC"]
|
||||
]
|
||||
}).then(results => {
|
||||
houses = results
|
||||
}).catch(err => FE_Charts.logError(err));
|
||||
return houses;
|
||||
|
Reference in New Issue
Block a user