From c7b8888fb11bd964e95b643b963173ad1b994a55 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 22 Apr 2012 20:14:30 +0530 Subject: [PATCH] try pagination bug again --- manifests/ships/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/ships/views.py b/manifests/ships/views.py index 314d038..7e2828c 100644 --- a/manifests/ships/views.py +++ b/manifests/ships/views.py @@ -168,8 +168,8 @@ def stringtranslate(request): @login_required def shipList(request): - page = request.GET.get('page', 1) - page_size = request.GET.get('page_size', 50) + page = int(request.GET.get('page', 1)) + page_size = int(request.GET.get('page_size', 50)) startDate = request.GET.get('start_date', '') endDate = request.GET.get('end_date', '') billType = request.GET.get('bill_type', '')