about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiXSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-23 18:20:39 -0600
committerEric Wong <e@80x24.org>2021-10-24 02:20:33 +0000
commitcb04d2ddfd53c36eaf1a49cadb8158ae76622683 (patch)
treec8d3a73fe10fac26f3d892a82bc01eb623771d1a /lib/PublicInbox/LeiXSearch.pm
parent9a7c75b64e9dc351fddce61b32694d504c2e80c2 (diff)
downloadpublic-inbox-cb04d2ddfd53c36eaf1a49cadb8158ae76622683.tar.gz
lei: always pass $lei to LeiAuth->op_merge
This will make future developments easier.
Diffstat (limited to 'lib/PublicInbox/LeiXSearch.pm')
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index 119070a2..acc36897 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -548,7 +548,7 @@ sub do_query {
                 'child_error' => [ $lei ],
                 'incr_start_query' => [ $self, $lei ],
         };
-        $lei->{auth}->op_merge($ops, $l2m) if $l2m && $lei->{auth};
+        $lei->{auth}->op_merge($ops, $l2m, $lei) if $l2m && $lei->{auth};
         my $end = $lei->pkt_op_pair;
         $lei->{1}->autoflush(1);
         $lei->start_pager if delete $lei->{need_pager};