]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Mbox.pm
mbox: disable "&t" on existing Xapian until full reindex
[public-inbox.git] / lib / PublicInbox / Mbox.pm
index c9b11c210a2aefc04e7778d7a90dfe361c7ea047..0223beadcde47deb4381cf7056b1429f292946e2 100644 (file)
@@ -262,7 +262,7 @@ sub mbox_all {
        $ctx->{ids} = $srch->mset_to_artnums($mset);
        require PublicInbox::MboxGz;
        my $fn;
-       if ($q->{t}) {
+       if ($q->{t} && $srch->has_threadid) {
                $fn = 'results-thread-'.$q_string;
                PublicInbox::MboxGz::mbox_gz($ctx, \&results_thread_cb, $fn);
        } else {