precedent empty makes it and the following field to dissapear from $data and change field name of following field
lets say we have fields in a view
field1
field2
views_customfield
and on the results one of rows has field1 empty
then data->node_data_field_field1_field_field1_value and data->node_data_field_field2_field_field2_value
do not exist
meanwhile there is
data->node_data_field_field1_field_field2_value
which holds the value that should be
data->node_data_field_field2_field_field2_value
$d->node_data_field_cruise_id_field_cruise_id_value
in the screenshot on the first setup I get everything as expected
on the second setup I get
$data->node_data_field_cruise_id_field_cruise_id_value and $data->node_data_field_duration_field_duration_value correct but for the row that is missing duration (empty duration) I only get this field $data->node_data_field_duration_field_cruise_id_value which holds the cruise id (the other two fields are missing
| Comment | File | Size | Author |
|---|---|---|---|
| views_customfield_mixups.jpg | 32.05 KB | giorgosk |
Comments
Comment #1
giorgoskseems related to #753958: Views combines my CCK-fields wrong? Uses two fields that has nothing to do with each other when it name fields!
is it really a views problem ?