From d9a0d757ee0310ebe692cc00ac3404b058ee9746 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Sat, 5 Sep 2015 09:04:53 +0000
Subject: [PATCH] searchview: link users to permalink instead of thread

The permalink should load faster if the user had a good query
and users can easily find the rest of the message in the thread.
---
 lib/PublicInbox/SearchView.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 96b691df..13f4de2a 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -106,7 +106,7 @@ sub dump_mset {
 		$f = PublicInbox::Hval->new_oneline($f)->as_html;
 		my $d = strftime('%Y-%m-%d %H:%M', gmtime($smsg->ts));
 		my $mid = PublicInbox::Hval->new_msgid($smsg->mid)->as_href;
-		$$res .= qq{$rank. <b><a\nhref="$mid/t/#u">}.
+		$$res .= qq{$rank. <b><a\nhref="$mid/">}.
 			$s->as_html . "</a></b>\n";
 		$$res .= "$pfx  - by $f @ $d UTC [$pct%]\n\n";
 	}
-- 
2.51.0