Skip to content

Commit

Permalink
fix sort
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Feb 11, 2023
1 parent c2113ce commit d2b419c
Show file tree
Hide file tree
Showing 2 changed files with 2 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
1 change: 0 additions & 1 deletion web/templates/macro/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
{% for Option in FieldAttr.options %}
{% if Option.value == Params.get(FieldId) %}
{{ Option.name }}
{% break %}
{% endif %}
{% endfor %}
{% endif %}
Expand Down

0 comments on commit d2b419c

Please sign in to comment.