Closed gijsstegehuis closed 1 month ago
->orderBy('RAND()'); is hardcoded here, but in Postgres RAND() it's called RANDOM() https://github.com/verbb/formie/blob/af9c9f6b0b7820df2b809895c2fb780e0d3597e9/src/base/ElementField.php#L716
->orderBy('RAND()');
RANDOM()
actions/formie/email/preview
Craft Pro 5.4.4
3.0.7
No response
Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.7".
composer require verbb/formie:"dev-craft-5 as 3.0.7"
Awesome Josh!
Fixed in 3.0.8
Describe the bug
->orderBy('RAND()');
is hardcoded here, but in Postgres RAND() it's calledRANDOM()
https://github.com/verbb/formie/blob/af9c9f6b0b7820df2b809895c2fb780e0d3597e9/src/base/ElementField.php#L716Steps to reproduce
actions/formie/email/preview
Form settings
Craft CMS version
Craft Pro 5.4.4
Plugin version
3.0.7
Multi-site?
No response
Additional context
No response