Removed the status ID when constructing the return url in the Mia core application.
This commit is contained in:
parent
474c74ebb0
commit
4dd1d35cec
@ -95,7 +95,8 @@ def url_with_return(context, view_name, *args):
|
||||
str: The URL.
|
||||
"""
|
||||
url = reverse(view_name, args=args)
|
||||
return str(UrlBuilder(url).query(r=context.request.get_full_path()))
|
||||
return str(UrlBuilder(url).query(
|
||||
r=str(UrlBuilder(context.request.get_full_path()).remove("s"))))
|
||||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
|
Loading…
Reference in New Issue
Block a user