Merge pull request #16 from presenton/dashboard-ordering

Fixes: dashboard listings issues
This commit is contained in:
Suraj Jha 2025-05-13 18:20:28 +05:45 committed by GitHub
commit ec13c593d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,11 @@ class GetPresentationsHandler:
for each in presentations:
each.data = None
each.summary = None
if not each.thumbnail:
presentations.remove(each)
presentations.sort(key=lambda x: x.created_at, reverse=True)
logging_service.logger.info(
logging_service.message(