summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--handlers/views_handler_filter.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 69919b7..b421479 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -110,6 +110,7 @@ by dereine: Convert op_shorter/longer in filter_string to add_where_expression.
#1046674 by dereine: Rename build_mode to view_mode in row_node_view. This fixes some bugs with code using $node->view_mode.
#1090682 by febbraro: view:load does not clear the cache correctly when reset.
#1090682 by dereine: Write a simpletest for the reset parameter of view::load.
+#1054272 by dagmar: String filters are non optional anymore.
Views 3.x-7.x-alpha1 (05-Jan-2011)
==================================
diff --git a/handlers/views_handler_filter.inc b/handlers/views_handler_filter.inc
index fd0f68f..fc56ae2 100644
--- a/handlers/views_handler_filter.inc
+++ b/handlers/views_handler_filter.inc
@@ -432,7 +432,7 @@ class views_handler_filter extends views_handler {
$value = $input[$this->options['expose']['identifier']];
// Various ways to check for the absence of optional input.
- if (empty($this->no_optional) && !empty($this->options['expose']['optional'])) {
+ if (!empty($this->options['expose']['optional'])) {
if (($this->operator == 'empty' || $this->operator == 'not empty') && $value === '') {
$value = ' ';