diff --git a/helpers/lotOccupancyDB/getLotOccupantTypes.js b/helpers/lotOccupancyDB/getLotOccupantTypes.js index a453013b..75282c8e 100644 --- a/helpers/lotOccupancyDB/getLotOccupantTypes.js +++ b/helpers/lotOccupancyDB/getLotOccupantTypes.js @@ -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`) diff --git a/helpers/lotOccupancyDB/getLotOccupantTypes.ts b/helpers/lotOccupancyDB/getLotOccupantTypes.ts index 49773229..22915e8d 100644 --- a/helpers/lotOccupancyDB/getLotOccupantTypes.ts +++ b/helpers/lotOccupancyDB/getLotOccupantTypes.ts @@ -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`