Commit 72475e84 authored by fmitchell's avatar fmitchell

Issue #2029121 by douggreen: Fixed State flow filter improperly filters by node type.

parent 67c4728c
7.x-2.x-dev
--------------
#2029121 by douggreen: Fixed State flow filter improperly filters by node type.
#2029555 by vzblk: Fixed Integration with Search API.
#2051521 by warpedgeoid: Fixed SQL Server does not support SQL LIMIT statement, should use db_query_range().
#1976932 by ericduran: Fixed SPS module should use the correct package.
......
......@@ -24,7 +24,7 @@ class state_flow_handler_filter_state extends views_handler_filter_in_operator {
if (get_class($value) === 'views_handler_filter_node_type') {
$type_names = FALSE;
if (!empty($this->view->exposed_input[$key]) && !empty($this->view->filter[$key]->value_options) && array_key_exists($this->view->exposed_input[$key], $this->view->filter[$key]->value_options)) {
$type_names = array($this->view->exposed_input[$key]);
$type_names = array($this->view->exposed_input[$key] => 1);
}
elseif (!empty($this->view->filter[$key]->options['value'])) {
$type_names = $this->view->filter[$key]->options['value'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment