Fixes in. Hooray.
This commit is contained in:
parent
7a3b11dc32
commit
981d3ea933
5 changed files with 2 additions and 60 deletions
|
|
@ -22,8 +22,7 @@ def init_index_routes(app):
|
|||
"fields": [
|
||||
"start_time",
|
||||
"contact.label",
|
||||
"work_item.label",
|
||||
"work_item.device_type.description"
|
||||
"work_item.label"
|
||||
],
|
||||
"sort": "start_time"
|
||||
})
|
||||
|
|
@ -65,8 +64,7 @@ def init_index_routes(app):
|
|||
{"field": "contact.label", "label": "Contact",
|
||||
"link": {"endpoint": "entry.entry", "params": {"id": "{contact.id}", "model": "user"}}},
|
||||
{"field": "work_item.label", "label": "Work Item",
|
||||
"link": {"endpoint": "entry.entry", "params": {"id": "{work_item.id}", "model": "inventory"}}},
|
||||
{"field": "work_item.device_type.description", "label": "Device Type"}
|
||||
"link": {"endpoint": "entry.entry", "params": {"id": "{work_item.id}", "model": "inventory"}}}
|
||||
]
|
||||
|
||||
logs = render_table(work_logs, columns=columns, opts={"object_class": "worklog"})
|
||||
|
|
|
|||
|
|
@ -125,12 +125,6 @@ def init_listing_routes(app):
|
|||
except Exception:
|
||||
svc_engine = None
|
||||
|
||||
print(
|
||||
"LISTING ENGINES: "
|
||||
f"runtime={id(rt_engine) if rt_engine else None} "
|
||||
f"session_factory.bind={id(sf_engine) if sf_engine else None} "
|
||||
f"service.bind={id(svc_engine) if svc_engine else None}"
|
||||
)
|
||||
# include limit and go
|
||||
window = service.seek_window(spec | {"limit": limit}, key=key, backward=backward, include_total=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue