Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
state_machine
Commits
72475e84
Commit
72475e84
authored
Aug 09, 2013
by
fmitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2029121
by douggreen: Fixed State flow filter improperly filters by node type.
parent
67c4728c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG
CHANGELOG
+1
-0
modules/state_flow/includes/views/state_flow_handler_filter_state.inc
...e_flow/includes/views/state_flow_handler_filter_state.inc
+1
-1
No files found.
CHANGELOG
View file @
72475e84
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.
...
...
modules/state_flow/includes/views/state_flow_handler_filter_state.inc
View file @
72475e84
...
...
@@ -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'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment