Still dealing with collections bug.
This commit is contained in:
parent
8931888d9e
commit
dc1d4111e2
4 changed files with 4 additions and 3 deletions
|
|
@ -35,5 +35,5 @@
|
||||||
{% if submit_attrs %}{% for k,v in submit_attrs.items() %}
|
{% if submit_attrs %}{% for k,v in submit_attrs.items() %}
|
||||||
{{k}}{% if v is not sameas true %}="{{ v }}"{% endif %}
|
{{k}}{% if v is not sameas true %}="{{ v }}"{% endif %}
|
||||||
{% endfor %}{% endif %}
|
{% endfor %}{% endif %}
|
||||||
>{{ submit_label if label else 'Save' }}</button>
|
>{{ submit_label if submit_label else 'Save' }}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@ def init_entry_routes(app):
|
||||||
instance=obj,
|
instance=obj,
|
||||||
fields_spec=fields_spec,
|
fields_spec=fields_spec,
|
||||||
layout=layout,
|
layout=layout,
|
||||||
submit_attrs={"class": "d-none", "disable": True}
|
submit_attrs={"class": "d-none", "disabled": True}
|
||||||
)
|
)
|
||||||
|
|
||||||
return render_template("entry.html", form=form)
|
return render_template("entry.html", form=form)
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ def init_search_routes(app):
|
||||||
{"field": "updates", "format": lambda x: len(x)},
|
{"field": "updates", "format": lambda x: len(x)},
|
||||||
]
|
]
|
||||||
worklog_results = worklog_service.list({
|
worklog_results = worklog_service.list({
|
||||||
'contact.label|work_item.label|updates.content__icontains': q,
|
'contact.label|work_item.label__icontains': q,
|
||||||
'fields': [
|
'fields': [
|
||||||
"contact.label",
|
"contact.label",
|
||||||
"work_item.label",
|
"work_item.label",
|
||||||
|
|
|
||||||
|
|
@ -26,4 +26,5 @@
|
||||||
{{ worklog_results | safe }}
|
{{ worklog_results | safe }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<small class="text-secondary">Search including the content of work log updates is currently disabled pending a bug fix.</small>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue