about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-30 02:35:15 +0000
committerEric Wong <e@80x24.org>2016-06-30 07:24:37 +0000
commit1e0b530449910eb35561e068de7e4084175b78e6 (patch)
tree6ec2aa8873cebc1f8fc895a08a3c1aed5d2bef21 /lib/PublicInbox/SearchView.pm
parent5422a844b7384c32b3532d128e15e0b50d24435b (diff)
downloadpublic-inbox-1e0b530449910eb35561e068de7e4084175b78e6.tar.gz
This lets user have a small window of the context of
the current message relative to other threads.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 488822e6..8771d5d3 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -169,6 +169,7 @@ sub mset_thread {
         }
         my $skel = search_nav_bot($mset, $q). "<pre>";
         my $inbox = $ctx->{-inbox};
+        $ctx->{-upfx} = '';
         my $state = {
                 -inbox => $inbox,
                 anchor_idx => 1,
@@ -181,7 +182,6 @@ sub mset_thread {
                 prev_level => 0,
                 seen => {},
                 srch => $ctx->{srch},
-                upfx => './',
         };
 
         PublicInbox::View::walk_thread($th, $state,