mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
feat: sort user search
This commit is contained in:
@@ -15,6 +15,8 @@ class SearchPanelController extends CommonController {
|
||||
// 视频时长筛选 仅用于搜索视频
|
||||
RxInt duration = 0.obs;
|
||||
int? tids;
|
||||
int? orderSort;
|
||||
int? userType;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
@@ -68,8 +70,10 @@ class SearchPanelController extends CommonController {
|
||||
searchType: searchType!,
|
||||
keyword: keyword!,
|
||||
page: currentPage,
|
||||
order: searchType!.type != 'video' ? null : order.value,
|
||||
order: order.value,
|
||||
duration: searchType!.type != 'video' ? null : duration.value,
|
||||
tids: tids,
|
||||
orderSort: orderSort,
|
||||
userType: userType,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user