fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[wolnelektury.git]
/
src
/
search
/
views.py
diff --git
a/src/search/views.py
b/src/search/views.py
index
9e36458
..
b5cc0ba
100644
(file)
--- a/
src/search/views.py
+++ b/
src/search/views.py
@@
-123,7
+123,7
@@
def search(request):
filters = SearchFilters(request.GET)
ctx = {
'title': 'Wynik wyszukiwania',
filters = SearchFilters(request.GET)
ctx = {
'title': 'Wynik wyszukiwania',
- 'query':
filters.data['q']
,
+ 'query':
request.GET.get('q', '')
,
'filters': filters,
}
if filters.is_valid():
'filters': filters,
}
if filters.is_valid():