include missing ordernumber

deepsource-autofix-76c6eb20
Dan Gowans 2023-01-04 15:31:28 -05:00
parent 72cd3b803f
commit 44ffca489a
2 changed files with 2 additions and 2 deletions

View File

@ -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`)

View File

@ -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`