From 1ddd8664aecd16143470d8913cf526aac2f3b7d7 Mon Sep 17 00:00:00 2001 From: Jowe <123822645+Selei1983@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:03:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8E=E5=8F=B0=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8=E6=94=B9=E4=B8=BA=E6=8C=89?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=80=92=E5=BA=8F=E6=8E=92?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 最新添加的网站排在最前面,与新闻管理保持一致 Co-Authored-By: Claude Sonnet 4.6 --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index 5ed879a..80dac40 100644 --- a/app.py +++ b/app.py @@ -2774,6 +2774,7 @@ Sitemap: {}sitemap.xml action_disallowed_list = [] column_list = ['id', 'code', 'name', 'url', 'slug', 'is_active', 'is_recommended', 'view_count', 'created_at'] + column_default_sort = ('created_at', True) # 按创建时间倒序,最新的排在前面 column_searchable_list = ['code', 'name', 'url', 'description'] column_filters = ['is_active', 'is_recommended', 'tags'] column_labels = {