object_id being sent with # char, temp fix

This commit is contained in:
Sanj 2012-01-07 04:09:57 +05:30
parent 9bf67e67b5
commit 96d1dac9fc

View File

@ -43,6 +43,7 @@ def get_list(request):
tab_slug = request.GET.get("tab", "")
tab = get_object_or_404(ModuleTab, slug=tab_slug)
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", "")
if sortString == "" or sortString == 'null':
sortArray = []