uh, sort being sent as 'null' when there are no sort values
This commit is contained in:
parent
fcd6063278
commit
2d3b883ec7
|
@ -30,7 +30,7 @@ def get_list(request):
|
|||
tab = get_object_or_404(ModuleTab, pk=tab_id)
|
||||
|
||||
sortString = request.GET.get("sort", "")
|
||||
if sortString == "":
|
||||
if sortString == "" or sortString == 'null':
|
||||
sortArray = []
|
||||
else:
|
||||
sortOperator = sortString[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user