Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: Unable to use the Customer order condition in the CP when there are large numbers of users #3291

Closed
samhibberd opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels
bug commerce4 Issues related to Commerce v4

Comments

@samhibberd
Copy link

What happened?

Select the Customer condition anywhere you can filter orders and the request to load in the condition settings fails.

This is on a site with 180k+ users and caused by the CustomerConditionRule::options() method trying to load them all at once.

An ajax select / dropdown or User(s) element select (like used in the Related To condition) would be great.

Screenshot 2023-10-04 at 21 59 49

Craft CMS version

4.5.6.1

Craft Commerce version

4.3

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@lukeholder
Copy link
Member

@samhibberd Thanks for reporting, the fix will be in the next release. We will let you know once it is out!

@nfourtythree
Copy link
Contributor

Commerce 4.3.1 has now been released with these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4
Projects
None yet
Development

No branches or pull requests

3 participants