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