]> Sergey Matveev's repositories - public-inbox.git/commit
www: sort all /$INBOX/ topics by Received: timestamp
authorEric Wong <e@80x24.org>
Sat, 4 Feb 2023 20:41:10 +0000 (20:41 +0000)
committerEric Wong <e@80x24.org>
Sat, 4 Feb 2023 21:29:42 +0000 (21:29 +0000)
commit0f19ca7e3ca6fc568a8713c5ececdb4d9fa577e6
tree6863350791ce3ad0803ecc79efb8f7ff2014d050
parentb58cb3f73d48f682eb2092f7ae758cdad70c5467
www: sort all /$INBOX/ topics by Received: timestamp

Our previous pinning prevention only worked to prevent older
(non-most-recent) topics from being pinned to the landing page,
but not the most recent window of messages.

We still sort messages within threads by Date: because that
makes git-send-email patchsets display more nicely, but we
don't want recent topics pinned due to future Date: headers.

I nearly switched sort_ds() back to sorting by Received: until
I looked back on commit 8e52e5fdea416d6fda0b8d301144af0c043a5a76
(use both Date: and Received: times, 2018-03-21) and was reminded
git-send-email relies on Date: for large series, so I added a
note about it for sort_ds().

Reported-by: Kyle Meyer <kyle@kyleam.com>
Tested-by: Kyle Meyer <kyle@kyleam.com>
Link: https://public-inbox.org/meta/87edr5gx63.fsf@kyleam.com/
lib/PublicInbox/View.pm