mu-query-threads: small refinements

Ensure we sort correctly (sort_container), since the last message in a
thread is not necessarily the last (when not sorted by thread-date).

own_date_key is redundant, so let's remove it.
This commit is contained in:
Dirk-Jan C. Binnema
2026-08-15 22:39:24 +03:00
committed by Seth Ladygo
parent f31b5eedde
commit 541a4ad00d
2 changed files with 53 additions and 21 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2021 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2021-2026 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -28,6 +28,9 @@ namespace Mu {
* thread-paths for each message, so we can let Xapian order them in the correct
* order.
*
* This is strongly inspired by the JWZ message threading algorithm
* https://www.jwz.org/doc/threading.html
*
* Note - threads are sorted chronologically, and the messages below the top
* level are always sorted in ascending orde
*