diff options
author | Eric Wong <e@80x24.org> | 2016-08-18 09:25:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-08-18 09:32:01 +0000 |
commit | 837dfbc19794cb65491cb324f023631473c17a58 (patch) | |
tree | 8bce68bfc82a3a44e1137794205f974ba65088d2 /lib/PublicInbox | |
parent | adecbd43d2eed046fe6e88a459d03567461fd84b (diff) | |
download | public-inbox-837dfbc19794cb65491cb324f023631473c17a58.tar.gz |
The internal help text links to the Xapian query parser documentation anyways, but also provides information on which prefixes exist.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 3623a78b..4f0811a8 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -85,12 +85,11 @@ sub mset_summary { sub err_txt { my ($ctx, $err) = @_; - my $u = '//xapian.org/docs/queryparser.html'; - $u = PublicInbox::Hval::prurl($ctx->{env}, $u); + my $u = $ctx->{-inbox}->base_url($ctx->{env}) . '_/text/help/'; $err =~ s/^\s*Exception:\s*//; # bad word to show users :P $err = ascii_html($err); "\nBad query: <b>$err</b>\n" . - qq{See <a\nhref="$u">$u</a> for Xapian query syntax}; + qq{See <a\nhref="$u">$u</a> for help on using search}; } sub search_nav_top { |