From: Eric Wong Date: Sat, 5 Sep 2015 09:04:53 +0000 (+0000) Subject: searchview: link users to permalink instead of thread X-Git-Tag: v1.0.0~899 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d9a0d757ee0310ebe692cc00ac3404b058ee9746;p=public-inbox.git 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. --- 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. }. + $$res .= qq{$rank. }. $s->as_html . "\n"; $$res .= "$pfx - by $f @ $d UTC [$pct%]\n\n"; }