]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
view: display small and invalid time ranges
authorEric Wong <e@80x24.org>
Mon, 15 Sep 2025 21:18:15 +0000 (21:18 +0000)
committerEric Wong <e@80x24.org>
Wed, 17 Sep 2025 21:37:27 +0000 (21:37 +0000)
commitae9422a30ff23da33f4454c6ba1279fb0193fe71
treef6caac60e3309cdbaf4d9d4afd0f81fbe1a9664e
parentb37373b6e4efab044b3b1922168345e340719e11
view: display small and invalid time ranges

Instead of falling back to displaying the most recent messages
when there are too few (<200) or no messages in a time range,
show the small subset or return a 404 when there's no messages
at all.  This ought to be less confusing for users who want to
focus on a small subset of messages within a given timeframe.

Reported-by: Leah Neukirchen <leah@vuxu.org>
Link: https://public-inbox.org/meta/87zfbbpwhu.fsf@vuxu.org/
lib/PublicInbox/View.pm