Getting hybrid property support.
This commit is contained in:
parent
b68dbfc7ae
commit
506713c748
3 changed files with 39 additions and 15 deletions
|
|
@ -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"}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue