Give the gift of Drupal. All merchandise is 50% off through 2016.
This is a follow up of
Reason for this change is that I just came across the fact that views_content_plugin_style_ctools_context (see line 31-34) breaks the "rendered entity" view mode provided by
SearchApiViewsQuery::addResults()sets the results keyed by entity-id.
entity_views_plugin_row_entity_view::pre_render()stores the entities of the results in an internal array keyed as the views results.
views_content_plugin_style_ctools_context::render()resets the array keys of the results.
entity_views_plugin_row_entity_view::render()uses the current row index to access the entity in the internal array but because of the reset of the result keys there isn't a match.
Use numeric array keys starting at 0 for
The attached patch also contains a chage that could bring a slight performance enhancement by saving a
User interface changes
PASSED: [[SimpleTest]]: [MySQL] 268 pass(es). View