Show More
@@ -27,8 +27,7 b' class BoardSearchView(View):' | |||||
27 | if form.is_valid(): |
|
27 | if form.is_valid(): | |
28 | query = form.cleaned_data[FORM_QUERY] |
|
28 | query = form.cleaned_data[FORM_QUERY] | |
29 | if len(query) >= 3: |
|
29 | if len(query) >= 3: | |
30 |
results = SearchQuerySet().auto_query(query).order_by('-id') |
|
30 | results = SearchQuerySet().auto_query(query).order_by('-id') | |
31 | .highlight() |
|
|||
32 | paginator = get_paginator(results, 10) |
|
31 | paginator = get_paginator(results, 10) | |
33 |
|
32 | |||
34 | if REQUEST_PAGE in request.GET: |
|
33 | if REQUEST_PAGE in request.GET: |
General Comments 0
You need to be logged in to leave comments.
Login now