forked from expo/troggle
logbooksearch ?
This commit is contained in:
parent
5bbb363f12
commit
b131e567b5
@ -227,6 +227,11 @@ def logbookentry(request, date, slug):
|
||||
return render(request, 'errors/generic.html',{'message':msg})
|
||||
|
||||
def logbookSearch(request, extra):
|
||||
'''This uses Django free text search of a text field to find the list of logbook entries.
|
||||
We need to create a search box form to set up the ?q=searchterms URL GET
|
||||
This has not been touched since we were running on Django 1.11 and probably earlier..
|
||||
A better idea is just to delete it and rely on he full text search that Wookey did.
|
||||
'''
|
||||
query_string = ''
|
||||
found_entries = None
|
||||
if ('q' in request.GET) and request.GET['q'].strip():
|
||||
|
Loading…
Reference in New Issue
Block a user