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.
If an argument is not set, then views boxes sets the value to the argument exception value (ie "all"). This bypasses any setting for "When the filter value is NOT available". If "all" is the desired implementation then the setting for "When the filter value is NOT available" can be set to "Display all results for the specified field".
Comment | File | Size | Author |
---|---|---|---|
#1 | views_boxes-filter-not-available-2205699-1.patch | 564 bytes | recrit |
Comments
Comment #1
recrit CreditAttribution: recrit commentedThe attached patch sets the value to NULL if missing. This allows views to use the setting for "When the filter value is NOT available".
Comment #2
hefox CreditAttribution: hefox commentedDuplicate of #1345282: Default argument behavior is bypassed?
Comment #3
recrit CreditAttribution: recrit commented@hefox - it's the same issue but the fix in #1345282: Default argument behavior is bypassed introduces a new token processed in the admin title. The patch in this issue simply follows the views default fallback which could be set to "all" if the option is set to "Display all results for the specified field".
Comment #4
hefox CreditAttribution: hefox commentedThe other issue is significantly older issue -- could you please add your patch there and close this issue as closed (duplicate)? Introducing a different way to fix a bug is completely okay/fairly common in an existing issue.
Thanks
Comment #5
recrit CreditAttribution: recrit commentedposted to 1345282 as views_boxes-filter-not-available-1345282-5.patch