]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Inbox.pm
www: use Inbox->over where appropriate
[public-inbox.git] / lib / PublicInbox / Inbox.pm
index e3bc1048c23582f2e4663a6aece6a644bc71499e..dc186b731da8a41bd231ba9edc9594b1642566e0 100644 (file)
@@ -172,6 +172,7 @@ sub search ($;$) {
        my ($self, $over_only) = @_;
        my $srch = $self->{search} ||= eval {
                _cleanup_later($self);
+               require PublicInbox::Search;
                PublicInbox::Search->new($self, $self->{altid});
        };
        # TODO: lazily load Xapian