Posts by aaronbushnell@mastodon.social
(DIR) Post #ASP2ayWwfjnPc69QhM by aaronbushnell@mastodon.social
2023-02-06T12:38:27Z
0 likes, 0 repeats
@janhenckens Last I used it they recommended storing a Unix timestamp and querying against that. So any date filtering just becomes a comparison against a ‘datetime’ property on your records.
(DIR) Post #ASP3ZKOUVqSqnUyW2a by aaronbushnell@mastodon.social
2023-02-06T12:44:11Z
0 likes, 0 repeats
@janhenckens I’ll shoot you one here! Is your field set as a filterable attribute? I sometimes forget to set that and it drives me crazy during debugging
(DIR) Post #ASP7TJ7YjURMvbRL5U by aaronbushnell@mastodon.social
2023-02-06T13:28:12Z
0 likes, 0 repeats
@janhenckens @stevengrant Glad you got it worked out! 🙌
(DIR) Post #ASP7jTnMoVFmfQhsMi by aaronbushnell@mastodon.social
2023-02-06T13:36:00Z
0 likes, 0 repeats
@janhenckens @stevengrant Ohhh boy. Hey, sometimes the easier sounding thing is actually harder than the more complicated thing! Maybe one of those cases for ya! 🤞
(DIR) Post #ASrlG3kG9legCHY4GG by aaronbushnell@mastodon.social
2023-02-16T21:57:28Z
0 likes, 0 repeats
🏎️ Really can't be overstated how important setting targetElement or sourceElement is when working with #craftcms relations. It's sometimes not possible, but can often cut your query time in half!
(DIR) Post #ASrlG5zvmTNZBStbxw by aaronbushnell@mastodon.social
2023-02-16T21:58:58Z
0 likes, 0 repeats
It's especially useful when your relations table is...not so small 😅
(DIR) Post #ASs7lO4ep0hRDOQtea by aaronbushnell@mastodon.social
2023-02-20T13:22:59Z
0 likes, 0 repeats
@janhenckens @mmikkel @markhuot Totally! Some of the tips are quick refactors that make a huge difference 🚀
(DIR) Post #AZwONr1juQuaNRkm3c by aaronbushnell@mastodon.social
2023-09-19T23:07:08Z
1 likes, 0 repeats
@paul Just disable all accounts and the ability to post entirely. Boom—no bots