When you mark a field as "Output this field as a link" and apply a token from a higher placed field, the last_render status isn't handled correctly. I found that instead of doing

$fields[$field]->theme($row);

using

$view->style_plugin->rendered_fields[$num][$field];

fixes this. I'm not a views api expert, but this seems correct to me and saves us some cpu cycles from rendering the field for the second thime.

CommentFileSizeAuthor
views-cloud-render.patch455 bytesdavyvdb

Comments

aschiwi’s picture

I confirm this problem and your patch works for me. Thanks!

chaps2’s picture

Status: Needs review » Reviewed & tested by the community

Same problem for me but with "Rewrite the output of this field" - all other style plugins work as expected. Patch works for me too.