mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
notmuch search: Fix a second bug in the change to support incremental searches.
The search was dropping the first thread from the results. When am I going to break down and write a test suite? It's long overdue now.
This commit is contained in:
parent
523f1ce0a5
commit
e4a7c2b870
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ notmuch_query_search_threads (notmuch_query_t *query,
|
|||
thread_id, NULL,
|
||||
(void **) &thread))
|
||||
{
|
||||
if (threads_seen > first) {
|
||||
if (threads_seen >= first) {
|
||||
thread = _notmuch_thread_create (query, query->notmuch,
|
||||
thread_id);
|
||||
g_ptr_array_add (threads->threads, thread);
|
||||
|
|
Loading…
Reference in a new issue