Skip to content
This repository
  • 3 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 apps/search/views.py
4 apps/search/views.py
@@ -37,8 +37,8 @@ def search(request):
37 37
38 38 results = DocumentType.search()
39 39 if search_query:
40   - results = (results.query(or_={'title': search_query,
41   - 'content': search_query})
  40 + results = (results.query(or_={'title__text': search_query,
  41 + 'content__text': search_query})
42 42 .filter(locale=request.locale)
43 43 .highlight('content'))
44 44 result_count = results.count()

No commit comments for this range

Something went wrong with that request. Please try again.