object_id being sent with # char, temp fix
This commit is contained in:
parent
9bf67e67b5
commit
96d1dac9fc
|
@ -43,6 +43,7 @@ def get_list(request):
|
||||||
tab_slug = request.GET.get("tab", "")
|
tab_slug = request.GET.get("tab", "")
|
||||||
tab = get_object_or_404(ModuleTab, slug=tab_slug)
|
tab = get_object_or_404(ModuleTab, slug=tab_slug)
|
||||||
object_id = request.GET.get("object_id", False)
|
object_id = request.GET.get("object_id", False)
|
||||||
|
object_id = object_id.replace("#", "") #FIXME - why is the front-end sending this?
|
||||||
sortString = request.GET.get("sort", "")
|
sortString = request.GET.get("sort", "")
|
||||||
if sortString == "" or sortString == 'null':
|
if sortString == "" or sortString == 'null':
|
||||||
sortArray = []
|
sortArray = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user