From 04a7e18e555c21e2a4988d90af680e64eac9307a Mon Sep 17 00:00:00 2001 From: rasmus Date: Wed, 22 Jan 2025 20:01:42 +0200 Subject: [PATCH] make unlisted the default The idea for public was to pick up highlights for the public listing. --- inventory-app/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-app/inventory.py b/inventory-app/inventory.py index af71b26..6391fe5 100644 --- a/inventory-app/inventory.py +++ b/inventory-app/inventory.py @@ -130,7 +130,7 @@ class InventoryForm(Form): owner = FormField(MemberForm, label="Owner") user = FormField(MemberForm, label="Current User") usable = BooleanField("Usable") - visibility = SelectField("Visibility", choices=['public', 'private', 'unlisted']) + visibility = SelectField("Visibility", choices=['unlisted', 'public', 'private']) class HardwareForm(Form): serial = StringField("Serial Number")