We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 819298f commit 09c0c53Copy full SHA for 09c0c53
por/dashboard/events.py
@@ -377,6 +377,8 @@ def before_timeentry_edit_render(context, event):
377
del fs._render_fields['end']
378
del fs._render_fields['tickettype']
379
380
+ q = DBSession().query(fs.contract.relation_type()).filter_by(project_id=context.project_id).order_by('name')
381
+ fs.contract.render_opts['options'] = _query_options(q)
382
#remove location required validator
383
if not fs.location.value:
384
fs.location.model.location = u'RedTurtle'
0 commit comments