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.
The range slider directly alters the url, instead of using the active items, which breaks pretty paths.
Got following error using facets range widget
Notice: Undefined index: f in Drupal\facets_range_widget\Plugin\facets\processor\RangeSliderProcessor->build() (line 58 of modules/contrib/facets/modules/facets_range_widget/src/Plugin/facets/processor/RangeSliderProcessor.php).
Comment | File | Size | Author |
---|---|---|---|
#4 | 2974512.patch | 3.88 KB | borisson_ |
Comments
Comment #2
StryKaizerComment #3
StryKaizerComment #4
borisson_Fixes the tests.
Comment #5
borisson_@StryKaizer, does this fix pretty paths?
Comment #7
borisson_Asked this on slack, this does fix pretty paths, committed!
Comment #9
5n00py CreditAttribution: 5n00py as a volunteer commentedgetUrl use keys to determine facet id's, not aliases
It should be:
@borisson_ Can you commit this change? Its related and very small to create new issue/patch.
Comment #10
borisson_Can you open a new issue anyway? I would love to commit this, but I can't (at work right now), I hope to find time next weekend to look at committing this and I will have forgotten about this issue.
Comment #11
StryKaizerI can confirm @5n00py's code is correct, so yes, it should be changed, but please create another issue ;)
Comment #12
5n00py CreditAttribution: 5n00py as a volunteer commentedThanks for fast response, follow-up created:
#2994859: Fix range slider processor's url generation