Adding back in content search.

This commit is contained in:
Yaro Kasear 2025-10-10 09:17:02 -05:00
parent 87cb686c64
commit 69a6e7fb2e
2 changed files with 1 additions and 2 deletions

View file

@ -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",

View file

@ -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 %}