Skip to content
Snippets Groups Projects
Commit c8b7689a authored by Shelane French's avatar Shelane French
Browse files

Issue #3183920 by Rewted: Bootstrap Media Object is duplicating content in View

parent 2b060deb
No related branches found
Tags 7.x-1.16
No related merge requests found
......@@ -207,7 +207,9 @@ function template_preprocess_views_bootstrap_media_object(array &$vars) {
$vars['rows'][$id] = [];
$vars['rows'][$id]['image'] = $vars['view']->style_plugin->getField($id, $image_field);
$vars['rows'][$id]['heading'] = $vars['view']->style_plugin->getField($id, $heading_field);
$vars['rows'][$id]['body'] = $row;
if (count($row["#view"]->field) > 2) {
$vars['rows'][$id]['body'] = $row;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment