Philipp Hörist pushed to branch master at gajim / gajim


Commits:
75d2b118 by Philipp Hörist at 2025-03-08T15:51:13+01:00
fix: HistoryExport: Export messages in ascending order

Fixes #12218

- - - - -


1 changed file:

- gajim/common/storage/archive/storage.py


Changes:

=====================================
gajim/common/storage/archive/storage.py
=====================================
@@ -1132,7 +1132,7 @@ def get_messages_for_export(
                 Message.fk_remote_pk == fk_remote_pk,
                 Message.correction_id.is_(None),
             )
-            .order_by(sa.desc(Message.timestamp), sa.desc(Message.pk))
+            .order_by(Message.timestamp, Message.pk)
             .execution_options(yield_per=25)
         )
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/75d2b118439eed66a836e8fb29041b3fba6c9707

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/75d2b118439eed66a836e8fb29041b3fba6c9707
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to