about summary refs log tree commit homepage
path: root/lib/PublicInbox/Mbox.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r--lib/PublicInbox/Mbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index c8e4b406..83fa7d8a 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -235,7 +235,7 @@ sub mbox_all {
         my $over = $ctx->{ibx}->over or
                 return PublicInbox::WWW::need($ctx, 'Overview');
 
-        my $qopts = $ctx->{qopts} = { mset => 2 }; # order by docid
+        my $qopts = $ctx->{qopts} = { relevance => -1 }; # ORDER BY docid ASC
         $qopts->{thread} = 1 if $q->{t};
         my $mset = $srch->mset($q_string, $qopts);
         $qopts->{offset} = $mset->size or