Getting hybrid property support.

This commit is contained in:
Yaro Kasear 2025-09-11 10:26:04 -05:00
parent b68dbfc7ae
commit 506713c748
3 changed files with 39 additions and 15 deletions

View file

@ -22,7 +22,7 @@ def init_index_routes(app):
"start_time",
"contact.last_name",
"contact.first_name",
"work_item.name",
"work_item.label",
"work_item.device_type.description"
],
"sort": "start_time"
@ -32,7 +32,7 @@ def init_index_routes(app):
{"field": "start_time", "label": "Start", "format": "date"},
{"field": "contact.last_name", "label": "Contact",
"link": {"endpoint": "user.get_item", "params": {"id": "{contact.id}"}}},
{"field": "work_item.name", "label": "Work Item",
{"field": "work_item.label", "label": "Work Item",
"link": {"endpoint": "inventory.get_item", "params": {"id": "{work_item.id}"}}},
{"field": "work_item.device_type.description", "label": "Device Type"}
]