bugfix
This commit is contained in:
parent
12921c70ca
commit
49d16ecd58
@ -181,7 +181,7 @@ class SQLor(object):
|
|||||||
page = int(NS.get(paging['pagename'],1))
|
page = int(NS.get(paging['pagename'],1))
|
||||||
rows = int(NS.get(paging['rowsname'],ROWS))
|
rows = int(NS.get(paging['rowsname'],ROWS))
|
||||||
sort = NS.get(paging.get('sortname','sort'),None)
|
sort = NS.get(paging.get('sortname','sort'),None)
|
||||||
if isinstance(sort, dict):
|
if isinstance(sort, list):
|
||||||
sort = ','.join(sort)
|
sort = ','.join(sort)
|
||||||
if not sort:
|
if not sort:
|
||||||
return sql
|
return sql
|
||||||
|
Loading…
Reference in New Issue
Block a user