Adding some enhancements.
This commit is contained in:
parent
013d1c0bd5
commit
a8b07eb115
4 changed files with 24 additions and 9 deletions
|
|
@ -20,8 +20,7 @@ def init_index_routes(app):
|
|||
"complete__ne": 1,
|
||||
"fields": [
|
||||
"start_time",
|
||||
"contact.last_name",
|
||||
"contact.first_name",
|
||||
"contact.label",
|
||||
"work_item.label",
|
||||
"work_item.device_type.description"
|
||||
],
|
||||
|
|
@ -30,7 +29,7 @@ def init_index_routes(app):
|
|||
|
||||
columns = [
|
||||
{"field": "start_time", "label": "Start", "format": "date"},
|
||||
{"field": "contact.last_name", "label": "Contact",
|
||||
{"field": "contact.label", "label": "Contact",
|
||||
"link": {"endpoint": "user.get_item", "params": {"id": "{contact.id}"}}},
|
||||
{"field": "work_item.label", "label": "Work Item",
|
||||
"link": {"endpoint": "inventory.get_item", "params": {"id": "{work_item.id}"}}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue