Steps to re-create:
1. Create filter (mine was node title field)
2. Set "Unlock operator" to unchecked
3. Export view.
4. Revert view to use exported version
5. Check view on notice that "Unlock operator" is checked
If I add the following to the export then it works as expected.
$handler->display->display_options['filters']['title']['expose']['use_operator'] = FALSE;
Comments
Comment #1
Ruyman commentedSame problem here with version 6.x-3.x-dev.
Whatever we check on "Unlock operator" the code exported is:
$handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
$handler->display->display_options['filters']['title']['expose']['use_operator'] = TRUE;
If we comment these lines everything works ok.
Comment #2
dawehnerI general this is a issue which is critical so a simpletest would be cool.
Comment #3
Ruyman commentedI applied this patch and everything works as expected now.
http://drupal.org/node/933716#comment-3574052
Comment #4
dawehnerSo this is a duplicate of the other patch. Thanks for figuring this out.
Comment #5
xlyz commentedproblem is still present in latest 7.x-3.x-dev version (2011-Jan-29).
Comment #6
merlinofchaos commented...and it's still a duplicate.