zemiacsik

I meant your $lead but then I have read again and you want to include so.. I am sorry for that 🙂

zemiacsik

Does it include NULL values? Because according to this it should not probably (although have not test myself) https://github.com/silverstripe/silverstripe-framework/issues/3621#issuecomment-265810370

Show 1 attachment(s)
GitHub  
Not possible to filter on DB columns that are explicitly null · Issue #3621 · silverstripe/silverstripe-framework

If the database column has a NULL value stored, it is not currently possible to filter a DataList to pick out null values. Page::get()->filter('NullableField', null) produces "Nulla...

Hide attachment content
zemiacsik

Hi, I was wondering if there is some possibility to do calculations in templates? I have $Children.Count and I would like to accomplish something like {$Children.Count + 1}