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 you have an argument that gets a default (say taxonomy ID from the current content item), this behavior is never triggered because views_boxes will always pass a wildcard if no argument is present.
Comment | File | Size | Author |
---|---|---|---|
#5 | views_boxes-filter-not-available-1345282-5.patch | 564 bytes | recrit |
#2 | views-boxes-default-argument-1345282-2.patch | 1.32 KB | brenk28 |
#1 | views_boxes-default-argument-1345282-1.patch | 1.34 KB | brenk28 |
Comments
Comment #1
brenk28 CreditAttribution: brenk28 commentedThis patch allows you set an argument with Administrative name {do_not_pass_wildcard} in your view, to indicate to views_boxes so no argument value will be sent to the view. This should only be used for views with single arguments, or if the argument is last in the list.
Comment #2
brenk28 CreditAttribution: brenk28 commentedRealized the patch in #1 fails when used in a make file.
Comment #3
jec006 CreditAttribution: jec006 commentedComment #4
jec006 CreditAttribution: jec006 commentedThis patch does not work as expected. The input for the contextual filter on the views boxes side is simply hidden when this argument is passed - making it basically always just do the default-no-argument behavior (normally hide the view).
Comment #5
recrit CreditAttribution: recrit commentedattached is the fix from #2205699: Rendering does not respect setting for "When the filter value is NOT available"