fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix invalid boxes for pdcounter authors
[wolnelektury.git]
/
src
/
search
/
views.py
diff --git
a/src/search/views.py
b/src/search/views.py
index
20b5e88
..
5b65a30
100644
(file)
--- a/
src/search/views.py
+++ b/
src/search/views.py
@@
-135,7
+135,7
@@
def main(request):
query = ' '.join(query.split())
# filter out private use characters
import unicodedata
query = ' '.join(query.split())
# filter out private use characters
import unicodedata
- query = ''.join(ch for ch in query if unicodedata.category(ch)
=
= 'Co')
+ query = ''.join(ch for ch in query if unicodedata.category(ch)
!
= 'Co')
if len(query) < 2:
return render_to_response(
if len(query) < 2:
return render_to_response(