Skip to content

CommonMap fix to take positions from views row

DataProviderBase::getPositionsFromViewsRow() does not honor its own name because it does not take the positions from the Views Row, but instead it takes the entity from the row (within DataProviderBase::getFieldItemsFromViewsRow()) and get all positions from the entity field regardless of the views row data.

That might make sense when we want to group all values in the same row (checking that option in the field settings), but not when we want each value in a different row, and maybe filter those results as in the proposed scenario.

We should take the position from the row data if it's available, and show all the entity values only when the option of grouping all values in the row has been set

Merge request reports