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.
With the range slider widget activated and using an URL alias that is different from the facet machine name, updating the min/max values on the range slider causes the value of the url path variable to be repeated instead of replaced with the updated values (see screenshot). The result is that only the first selection is taken into account. If the URL alias is the same as the facet machine name then it works as expected.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-url-alias-handling-3055897-2.patch | 1010 bytes | jwwj |
range_slider__path_variable_repeat.png | 12.5 KB | jwwj |
Comments
Comment #2
jwwj CreditAttribution: jwwj as a volunteer commentedThis patch fixes the issue for me at least
Comment #3
borisson_Setting to needs review for the testbot. Not sure if this will work though.
Comment #4
borisson_This looks good, but a +1 from someone else who uses this combination would be great.
Comment #5
jonas139 CreditAttribution: jonas139 at iO commentedI was having the same issue with my rangeslider. Patch applied and all my sliders work correct now.
Even with multiple sliders on one page, there's no problem with updating the url alias.
Comment #6
borisson_Awesome, thanks so much for confirming this Jonas!
Comment #7
init90The patch works for me. Thanks!
Comment #8
matthiasm11 CreditAttribution: matthiasm11 at MM-Experience commented+1 for #2, thanks!
Comment #10
borisson_