notmuch search: Fix thread dates to come only from matched messages.
authorCarl Worth <cworth@cworth.org>
Fri, 13 Nov 2009 07:10:04 +0000 (23:10 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 13 Nov 2009 07:10:04 +0000 (23:10 -0800)
commited2643333c3e347318cdf78f888fc2eb4e89d2ad
tree637565e818afd986b035e361c7d60c5e59d3c617
parenta5e9c06eb6d6334da8505a527be22cdd935aacfb
notmuch search: Fix thread dates to come only from matched messages.

We were properly sorting the threads based only on matched messages,
but we were displaying the date based on the total messages in the
thread, which led to inconsistent and very confusing results.
lib/thread.cc