From e4aae5147cf251b363b2e8315191b9075e63ebfd Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 25 Dec 2024 16:35:35 +0800 Subject: [PATCH] Update files.py --- web/admin/files/files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/admin/files/files.py b/web/admin/files/files.py index 73cc0254ce..c22a6fde68 100644 --- a/web/admin/files/files.py +++ b/web/admin/files/files.py @@ -156,9 +156,9 @@ def get_dir(): order = request.form.get('order', '') if search_all == 'yes' and search != '': - dir_list = file.getAllDirList(path, int(page), int(row),order, search) + dir_list = file.getAllDirList(path, int(page), int(row), order, search) else: - dir_list = file.getDirList(path, int(page), int(row),order, search) + dir_list = file.getDirList(path, int(page), int(row), order, search) dir_list['page'] = mw.getPage({'p':page, 'row': row, 'tojs':'getFiles', 'count': dir_list['count']}, '1,2,3,4,5,6,7,8') return dir_list