X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FLeiQuery.pm;h=3a437bf0030842c291c572af7301ff6c11b28a57;hb=b40f4f1f81f79577e19e9926e14979625303eb59;hp=5376c7f8db5b97f48f3fb505b03e34890d064e3e;hpb=5565abd5ca88deec5cf505d2fb75ad5bac54bbcf;p=public-inbox.git diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm index 5376c7f8..3a437bf0 100644 --- a/lib/PublicInbox/LeiQuery.pm +++ b/lib/PublicInbox/LeiQuery.pm @@ -128,8 +128,8 @@ sub lei_q { die "unrecognized --sort=$sort\n"; } } - # descending docid order - $mset_opt{relevance} //= -2 if $opt->{threads}; + # descending docid order is cheapest, MUA controls sorting order + $mset_opt{relevance} //= -2 if $self->{l2m} || $opt->{threads}; $self->{mset_opt} = \%mset_opt; if ($opt->{stdin}) {