about summary refs log tree commit homepage
path: root/lib/PublicInbox/Over.pm
diff options
authorEric Wong <e@yhbt.net>2020-08-27 22:04:59 +0000
committerEric Wong <e@yhbt.net>2020-08-28 04:25:15 +0000
commit6c853f5256f3a324c018a37a9e8a6b9fc8fdc063 (patch)
treee8cbeb6cecde0e25ea4bc16d6ea53f19a42671c7 /lib/PublicInbox/Over.pm
parent29c5f2a6fc3b86306a5dbeadfae061d06f2bc6dd (diff)
Sometimes it's useful to quickly get to threads and messages
which are contemporaries of the current thread/message being
focused on.  This hopefully improves navigation by making:

a) the top line (where $INBOX_DIR/description) is shown
   a link to the latest topics in search results and
   per-thread/per-message views.

b) providing a link to contemporaries ("~YYYY-MM-DD") at
   around the thread overview skeleton area for per-thread
   and per-message views
Diffstat (limited to 'lib/PublicInbox/Over.pm')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Over.pm b/lib/PublicInbox/Over.pm
index 0957cbdd..08112386 100644
--- a/lib/PublicInbox/Over.pm
+++ b/lib/PublicInbox/Over.pm
@@ -126,7 +126,7 @@ sub get_all {
         my $nr = scalar(@_) or return [];
         my $in = '?' . (',?' x ($nr - 1));
         do_get($self, <<"", { cull => 1, limit => $nr }, @_);
-SELECT num,ds,ddd FROM over WHERE num IN ($in)
+SELECT num,ts,ds,ddd FROM over WHERE num IN ($in)