Timeline for Can I use getCriteria to only return entries with a specified lightswitch field set to on?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 31, 2017 at 13:14 | comment | added | Krzysztof Boduch | Off switch criteria is: $criteria->myLightswitchField = 'not 1'; | |
Nov 17, 2015 at 16:30 | comment | added | migmaker | Hi Brad. Is it possible to do that with a OR condition on two fields ? craftcms.stackexchange.com/questions/12421/… | |
Oct 13, 2015 at 9:17 | vote | accept | Lettie | ||
Oct 7, 2015 at 22:29 | review | Low quality posts | |||
Oct 7, 2015 at 23:07 | |||||
Oct 7, 2015 at 22:10 | history | answered | Brad Bell♦ | CC BY-SA 3.0 |