Atom feeds only make sense when sorted by time, not when our
search indexing rules change and affect relevance. So do not
include the relevance option when linking to Atom feeds.
However, we shall still honor the 'r' query parameter in case
somebody wants to manually include that in the URL for
testing/experimental purposes. We simply will not advertise
it.
$rv .= qq{<a\nhref="?$s">summary</a>|};
$rv .= qq{<b>threaded</b>};
}
- my $A = $q->qs_html(x => 'A');
+ my $A = $q->qs_html(x => 'A', r => undef);
$rv .= qq{|<a\nhref="?$A">Atom</a>};
$rv .= ']';
}
my $query = PublicInbox::Hval->new_oneline($q->{q});
my $qh = $query->as_html;
- my $A = $q->qs_html(x => 'A');
+ my $A = $q->qs_html(x => 'A', r => undef);
my $res = "<html><head><title>$qh - search results</title>" .
qq{<link\nrel=alternate\ntitle="Atom feed"\n} .
qq!href="?$A"\ntype="application/atom+xml"/></head>! .