Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was stuck with a strange issue. Though my Views perfectly honored arguments in preview or using a path, it did not process arguement received from Panel.
Comparing the export with a fresh very simple similar Views, I noticed that the argument section had these setting:
Problematic Views:
$handler->override_option('arguments', array(
'group_nid' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(
'count' => TRUE,
'override' => FALSE,
'items_per_page' => 25,
),
...
Simple correct Views:
$handler->override_option('arguments', array(
'group_nid' => array(
'default_action' => 'ignore',
'style_plugin' => 'default_summary',
'style_options' => array(),
...
Exporting the Views, replacing 'style_options' => array(... by 'style_options' => array(); and importing in a new one made it working.
I couldn't find any place where these settings were relevant for Arguments.
This look like a Bug...
Comments
Comment #1
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue