about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiUp.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-19 08:52:14 +0000
committerEric Wong <e@80x24.org>2021-04-19 20:15:59 +0000
commitf9d6b4a0f5f66a084682aba229b44ef47afdfc35 (patch)
tree0f9bdb02d56a88e3afee717cf4d25e76c1cfbff0 /lib/PublicInbox/LeiUp.pm
parentab42b22acfd9670df0b61f514b4fb89fe7754846 (diff)
downloadpublic-inbox-f9d6b4a0f5f66a084682aba229b44ef47afdfc35.tar.gz
They're more different than alike, and having two separate
methods seems less confusing to me.
Diffstat (limited to 'lib/PublicInbox/LeiUp.pm')
-rw-r--r--lib/PublicInbox/LeiUp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiUp.pm b/lib/PublicInbox/LeiUp.pm
index e4cbc825..23c5c606 100644
--- a/lib/PublicInbox/LeiUp.pm
+++ b/lib/PublicInbox/LeiUp.pm
@@ -11,7 +11,7 @@ use PublicInbox::LeiOverview;
 sub lei_up {
         my ($lei, $out) = @_;
         $lei->{lse} = $lei->_lei_store(1)->search;
-        my $lss = PublicInbox::LeiSavedSearch->new($lei, $out) or return;
+        my $lss = PublicInbox::LeiSavedSearch->up($lei, $out) or return;
         my $mset_opt = $lei->{mset_opt} = { relevance => -2 };
         $mset_opt->{limit} = $lei->{opt}->{limit} // 10000;
         my $q = $mset_opt->{q_raw} = $lss->{-cfg}->{'lei.q'} //