This commit is contained in:
2026-03-27 14:08:07 +01:00
parent f67e5d8ccc
commit 984b2ba56f
4 changed files with 81 additions and 7 deletions

View File

@@ -515,7 +515,7 @@ class Dashboard(ModelSQL, ModelView):
' <div class="demos-title" style="font-size:1.2em; font-weight:bold; margin-bottom:10px;">🎬 Available Demo</div>'
]
demos = Demos.search([('active', '=', True)])
demos = Demos.search([('active', '=', True)],order=[('id', 'DESC')])
for n in demos:
icon = n.icon or "📰"
category = n.category or "General"