Skip to content
Snippets Groups Projects
Commit 5fa57bca authored by Ankur Rishi's avatar Ankur Rishi
Browse files

Issue #1061566 by ankur: fix problem with rewritten field values for marker...

Issue #1061566 by ankur: fix problem with rewritten field values for marker bubbles using token values from last result row of view for every row
parent 2dcf6a14
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,10 @@ class gmap_plugin_style_gmap extends views_plugin_style {
// Group the rows according to the grouping field, if specified.
$sets = $this->render_grouping($this->view->result, $this->options['grouping']);
// Let's make sure the individual fields are rendered
$this->render_fields($this->view->result);
// Render each group separately and concatenate. Plugins may override this
// method if they wish some other way of handling grouping.
$output = '';
......@@ -210,7 +213,7 @@ class gmap_plugin_style_gmap extends views_plugin_style {
$bubbletext = NULL;
if ($this->options['bubbletextenabled'] && !empty($bubbletext_field_alias) && !empty($row->{$bubbletext_field_alias})) {
$bubbletext = $this->view->field[$this->options['bubbletextfield']]->advanced_render($row);
$bubbletext = $this->rendered_fields[$row_index][$this->options['bubbletextfield']];
}
$marker = array(
......
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