This commit is contained in:
yumoqing 2026-04-28 14:34:29 +08:00
parent 472ce1647a
commit 912c17dad8

View File

@ -198,9 +198,9 @@ class SQLor(object):
""" """
default it not support paging default it not support paging
""" """
page = int(NS.get(paging['pagename'],1)) page = int(NS.get('page', 1))
rows = int(NS.get(paging['rowsname'],80)) rows = int(NS.get('pagerows', 80))
sort = NS.get(paging.get('sortname','sort'),None) sort = NS.get('sort', 'id')
if isinstance(sort, list): if isinstance(sort, list):
sort = ','.join(sort) sort = ','.join(sort)
if not sort: if not sort: