I am trying to get entries where a specific number field is bigger than the given value.
But Craft is giving me the following response:
Am i missing something or is this not supported for number fields?
Greetings
My problem had nothing to do with Craft. I simply handled the initial value that i got from the request wrong
%s
(string) forsprintf
. If you change it do%d
does it work? Not sure you need sprintf in this case?Entry::find()->generation_to("> ${year}")