uh, sort being sent as 'null' when there are no sort values
This commit is contained in:
parent
fcd6063278
commit
2d3b883ec7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue