Skip to content

Commit bfef862

Browse files
committed
chore: improvee query
Signed-off-by: smarcet <smarcet@gmail.com>
1 parent ce93ed1 commit bfef862

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/Repositories/Summit/DoctrineSummitOrderRepository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,8 @@ public function getAllOrderIdsThatNeedsPaymentInfo(Summit $summit, PagingInfo $p
447447
->join("e.summit","s")
448448
->where('e.status = :order_status')
449449
->andWhere('s.id = :summit_id')
450-
->andWhere("e.payment_info_type is null");
450+
->andWhere("e.payment_info_type is null")
451+
->andWhere("e.payment_gateway_cart_id is not null");
451452

452453
$query->setParameter("order_status", IOrderConstants::PaidStatus);
453454
$query->setParameter("summit_id", $summit->getId());

0 commit comments

Comments
 (0)