core: fix _redirect_with_qs appending an array to the URL

This commit is contained in:
Jens Langhammer 2020-01-02 16:14:56 +01:00
parent b9733e56aa
commit d24133d8a2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def _redirect_with_qs(view, get_query_set=None):
"""Wrapper to redirect whilst keeping GET Parameters""" """Wrapper to redirect whilst keeping GET Parameters"""
target = reverse(view) target = reverse(view)
if get_query_set: if get_query_set:
target += "?" + urlencode(get_query_set) target += "?" + urlencode(get_query_set.items())
return redirect(target) return redirect(target)