Adding back in content search.
This commit is contained in:
parent
87cb686c64
commit
69a6e7fb2e
2 changed files with 1 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ def init_search_routes(app):
|
|||
{"field": "updates", "format": lambda x: len(x)},
|
||||
]
|
||||
worklog_results = worklog_service.list({
|
||||
'contact.label|work_item.label__icontains': q,
|
||||
'contact.label|work_item.label|updates.content__icontains': q,
|
||||
'fields': [
|
||||
"contact.label",
|
||||
"work_item.label",
|
||||
|
|
|
|||
|
|
@ -26,5 +26,4 @@
|
|||
{{ worklog_results | safe }}
|
||||
</div>
|
||||
</div>
|
||||
<small class="text-secondary">Search including the content of work log updates is currently disabled pending a bug fix.</small>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue