fixed python3 compat issue

This commit is contained in:
Matthias Hannig 2016-06-28 18:44:54 +02:00
parent 895a65fdb9
commit 5f0191957f

View File

@ -883,7 +883,7 @@ def ticket_list(request):
import json
from helpdesk.lib import b64encode
urlsafe_query = b64encode(json.dumps(query_params))
urlsafe_query = b64encode(json.dumps(query_params).encode('UTF-8'))
user_saved_queries = SavedSearch.objects.filter(Q(user=request.user) | Q(shared__exact=True))