- Issue created by @akharabi
- 🇬🇧United Kingdom joachim
You need to set the caching on the computed data -- see getCacheability().
This maybe needs to be changed - are you outputting any other part of the node in the view? By default getCacheability() returns NULL, which I assumed would mean the caching is the same as the entity the field is on. But if you were outputting just that field in a view, the cacheability would be that of the view.
- 🇨🇦Canada akharabi
Hi @joachim , Yes I am reading other fields in Views as well. Is there any way of forcing the "computed field" to recalculate when that node gets updated without writing a custom code? This feature should be part of it right?
Thanks,