try pagination bug again

This commit is contained in:
Sanj 2012-04-22 20:14:30 +05:30
parent d161b66956
commit c7b8888fb1

View File

@ -168,8 +168,8 @@ def stringtranslate(request):
@login_required @login_required
def shipList(request): def shipList(request):
page = request.GET.get('page', 1) page = int(request.GET.get('page', 1))
page_size = request.GET.get('page_size', 50) page_size = int(request.GET.get('page_size', 50))
startDate = request.GET.get('start_date', '') startDate = request.GET.get('start_date', '')
endDate = request.GET.get('end_date', '') endDate = request.GET.get('end_date', '')
billType = request.GET.get('bill_type', '') billType = request.GET.get('bill_type', '')