1 views_plugin_display.test | ViewsPluginDisplayTestCase::testFilterGroupsUpdating() |
Based on a bug some filter_groups landed in the overridden display, even the filters weren't overridden. This caused multiple issues. Take sure that the value from the default display are used.
See also
http://drupal.org/node/1259608
File
- core/
modules/ views/ tests/ plugins/ views_plugin_display.test, line 82 - Definition of ViewsPluginDisplayTestCase.
Class
Code
function testFilterGroupsUpdating() {
$view = $this->viewFilterGroupsUpdating();
$view->init_display();
$this->assertFalse($view->display['page']->handler->options['defaults']['filter_groups']);
$this->assertEqual($view->display['default']->handler->options['filter_groups'], $view->display['page']->handler->options['filter_groups'], 'Take sure the default options are used for the filter_groups');
}