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
Activity
added 6 commits
-
f2b1ab00...765edff8 - 5 commits from branch
project:8.x-3.x
- 0343879d - CommonMap fix to take positions from views row
-
f2b1ab00...765edff8 - 5 commits from branch
added 1 commit
- a9400aaf - Fix PHP warning: Notice: Trying to get property limit_values of non-object
Please register or sign in to reply