Give systems sorted by their number

This commit is contained in:
Chrystian Huot 2020-01-06 14:48:43 -05:00
parent bad39944ac
commit c178de1c86

View file

@ -15,7 +15,9 @@ class RdioScannerSystem extends DataSource {
} }
async getSystems() { async getSystems() {
const systems = await this.store.rdioScannerSystem.findAll(); const systems = await this.store.rdioScannerSystem.findAll({
order: [['system', 'ASC']],
});
return systemReducer(systems); return systemReducer(systems);
} }
} }