I'm trying to use Views PHP filter feature to remove rows which don't contain some data (I can't just use "Hide if empty" feature, because the module returns a string even if there is no real value.
I'm using this string for a filter, however, if doesn't work - instead of filtering, view returns all values.
return isset($data->_field_data['nid']['entity']->field_poloha_obce_pol[und][0][geometry]);
I tried to inspire myself from some of the similar issues here, but it seems to me, that everything should be correct.
I also tested this exact code as PHP field and it returns expected value.
print_r
function on$data
variable.