projects
/
project/ctools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b55f958
)
resetting context style view results with array_values() to prevent non-row-indexed...
author
Kris
Fri, 16 Sep 2011 19:40:38 +0000 (14:40 -0500)
committer
Kris
Fri, 16 Sep 2011 19:40:38 +0000 (14:40 -0500)
views_content/plugins/views/views_content_plugin_style_ctools_context.inc
patch
|
blob
|
blame
|
history
diff --git
a/views_content/plugins/views/views_content_plugin_style_ctools_context.inc
b/views_content/plugins/views/views_content_plugin_style_ctools_context.inc
index
323c9c4
..
aafbebc
100644
(file)
--- a/
views_content/plugins/views/views_content_plugin_style_ctools_context.inc
+++ b/
views_content/plugins/views/views_content_plugin_style_ctools_context.inc
@@
-31,7
+31,7
@@
class views_content_plugin_style_ctools_context extends views_plugin_style {
// Some engines like solr key results on ids, but rendering really expects
// things to be keyed exclusively by row index. Using array_values()
// guarantees that.
- $result = array_values($this->view->result);
+ $this->view->result = array_values($this->view->result);
// Group the rows according to the grouping field, if specified.
$sets = $this->render_grouping($this->view->result, $this->options['grouping']);