Skip to content

Commit 20a6034

Browse files
committed
fix indent
1 parent e1afb02 commit 20a6034

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Model/Customer/SourceProvider/FilterModifier.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public function apply(Collection $collection, Filter $filter): void
3636
null
3737
);
3838
$collection->getSelect()->where(
39-
$connection->prepareSqlCondition('IFNULL(' .
40-
'cv.last_visit_at,'.
41-
'GREATEST(IFNULL(cl.last_login_at, e.created_at), IFNULL(cl.last_logout_at, e.updated_at))' .
42-
')', [$filter->getConditionType() => $filter->getValue()])
39+
$connection->prepareSqlCondition(
40+
'IFNULL(cv.last_visit_at, GREATEST(IFNULL(cl.last_login_at, e.created_at), IFNULL(cl.last_logout_at, e.updated_at)))',
41+
[$filter->getConditionType() => $filter->getValue()]
42+
)
4343
);
4444
}
4545
}

0 commit comments

Comments
 (0)