From 96d1dac9fc96ca3d2dd12c0b4926d65c2e07a8cd Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 7 Jan 2012 04:09:57 +0530 Subject: [PATCH] object_id being sent with # char, temp fix --- itf/insidepages/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/itf/insidepages/views.py b/itf/insidepages/views.py index d89fa69..f070f3d 100755 --- a/itf/insidepages/views.py +++ b/itf/insidepages/views.py @@ -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 = []