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 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 commentedDuplicate of #1345282: Default argument behavior is bypassed?
Comment #3
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 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 commentedposted to 1345282 as views_boxes-filter-not-available-1345282-5.patch