mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Ignore whitespace on typeahead queries (#1464)
Whitespace is often added when you copy/paste order or voucher codes
This commit is contained in:
committed by
Raphael Michel
parent
5e88dcf329
commit
fe92af10fb
@@ -132,7 +132,7 @@ def event_list(request):
|
||||
|
||||
|
||||
def nav_context_list(request):
|
||||
query = request.GET.get('query', '')
|
||||
query = request.GET.get('query', '').strip()
|
||||
organizer = request.GET.get('organizer', None)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user