My section has two numeric fields, lorem
and ipsum
. It's possible for users to enter any integer they want into these two fields.
I want to grab all results where lorem
is greater than ipsum
.
Here's my starting point...
{% set results = craft.entries.section('foo').limit(3) %}
How would I alter the above Element Criteria Model to only retrieve entries where the value of lorem
is greater than the value of ipsum
?