Skip to content

Commit

Permalink
Merge pull request #3448 from jxxghp/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jxxghp authored Feb 11, 2023
2 parents e23516d + d2b419c commit 33ace32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/conf/moduleconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ class ModuleConf(object):
"sort": {
"name": "排序",
"type": "dropdown",
"options": [{'value': 'T', 'name': '默认'},
"options": [{'value': '', 'name': '默认'},
{'value': 'U', 'name': '综合排序'},
{'value': 'T', 'name': '首播时间'},
{'value': 'S', 'name': '高分优先'},
Expand Down Expand Up @@ -940,7 +940,7 @@ class ModuleConf(object):
"sort": {
"name": "排序",
"type": "dropdown",
"options": [{'value': 'T', 'name': '默认'},
"options": [{'value': '', 'name': '默认'},
{'value': 'U', 'name': '综合排序'},
{'value': 'T', 'name': '首播时间'},
{'value': 'S', 'name': '高分优先'},
Expand Down
2 changes: 1 addition & 1 deletion web/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -2420,7 +2420,7 @@ def get_recommend(self, data):
# 参数
params = data.get("params") or {}
# 排序
sort = params.get("sort") or "U"
sort = params.get("sort") or "T"
# 选中的分类
tags = params.get("tags") or ""
# 过滤参数
Expand Down

0 comments on commit 33ace32

Please sign in to comment.