fix: 后台网站管理列表改为按创建时间倒序排列
最新添加的网站排在最前面,与新闻管理保持一致 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1
app.py
1
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 = {
|
||||
|
||||
Reference in New Issue
Block a user