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:
@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user