This commit is contained in:
2026-03-30 22:54:07 -06:00
parent eb8fa92029
commit 986b48f1de

View File

@@ -22,7 +22,7 @@ def get_all_public_display(request):
"""
前台显示所有公开的挑战
"""
return Challenge.objects.filter(is_public=True)
return Challenge.objects.filter(is_public=True).order_by("-display")
@router.get("/{display}", response=ChallengeAll)