- 🇧🇪Belgium vodde83
#16 works great!
However, I did notice the value suffix - and presumably, prefix - doesn't show up in the summary.
My Facet has a suffix of 'm2', and the summary just shows '22 - 60'.While I don't care much about for example the seperator in between the min & max, I'd say adding the prefix and/or suffix to the summary makes sense.
- 🇵🇪Peru alyaj2a
The patch in comment #16 🐛 Range slider items don't appear in the facet summary Needs review works perfectly. Thank you.
- First commit to issue fork.
- 🇪🇸Spain Carlitus
I've made a MR to add the prefix and sufix to summary filter of range sliders.
- 🇮🇳India Pramod Birla
The patch in comment #16 works perfectly. Thank you.
By default, the range slider facet only populates the display value with the min and max numbers e.g. 4-10 on selecting month 4 and 10, without including the facet's label.
To fix this , you will need to implement -$facet_label = $facet->Label();
$result_without_current_rangeslider = new Result($facet, "(min:$min,max:$max)", "$facet_label: $min - $max", 1);