Add last audited sort field
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Madis Mägi 2023-08-29 21:49:43 +03:00
parent 9f0119fcfe
commit 80eacfc46d

View File

@ -351,6 +351,7 @@ def view_inventory(slug=None):
user_disabled = request.args.get("user_disabled", type=str) == "true"
sort_fields = {
"last_seen": "Last seen",
"inventory_audit_timestamp": "Last audited",
"name": "Name",
"type": "Inventory type",
}