diff --git a/src/controllers/PrinterController.ts b/src/controllers/PrinterController.ts index 00b81e2..3e609a0 100644 --- a/src/controllers/PrinterController.ts +++ b/src/controllers/PrinterController.ts @@ -41,7 +41,7 @@ class PrinterController { take: 1 } }, - orderBy: { network: { cidr: 'asc' } } + orderBy: { ip: 'asc' } }) return res.json(printers) diff --git a/web/src/App.vue b/web/src/App.vue index a390c50..9f35181 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -33,6 +33,7 @@ onMounted(async () => { appStore.selectedCampus = appStore.me?.campus || '' }) +