include missing ordernumber
parent
72cd3b803f
commit
44ffca489a
|
|
@ -3,7 +3,7 @@ import { lotOccupancyDB as databasePath } from "../../data/databasePaths.js";
|
|||
export function getLotOccupantTypes() {
|
||||
const database = sqlite(databasePath);
|
||||
const lotOccupantTypes = database
|
||||
.prepare(`select lotOccupantTypeId, lotOccupantType, fontAwesomeIconClass
|
||||
.prepare(`select lotOccupantTypeId, lotOccupantType, fontAwesomeIconClass, orderNumber
|
||||
from LotOccupantTypes
|
||||
where recordDelete_timeMillis is null
|
||||
order by orderNumber, lotOccupantType`)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export function getLotOccupantTypes(): recordTypes.LotOccupantType[] {
|
|||
|
||||
const lotOccupantTypes: recordTypes.LotOccupantType[] = database
|
||||
.prepare(
|
||||
`select lotOccupantTypeId, lotOccupantType, fontAwesomeIconClass
|
||||
`select lotOccupantTypeId, lotOccupantType, fontAwesomeIconClass, orderNumber
|
||||
from LotOccupantTypes
|
||||
where recordDelete_timeMillis is null
|
||||
order by orderNumber, lotOccupantType`
|
||||
|
|
|
|||
Loading…
Reference in New Issue