Range slider settings don't allow different min/max type

Created on 3 December 2021, over 3 years ago

Problem/Motivation

It is not possible to set a different type of min/max range limit. When you set the lower limit to fixed and the upper limit to based on search result the upper limit is assumed to be fixed as well.

Steps to reproduce

Set the lower limit of the range slider to fixed zero. Set the upper limit of the range slider to based on search result. Note that the max value is not red from the search result but from the configured setting in case of a fixed upper limit.

Proposed resolution

Modifi=y the SliderProcessor to respect a different type setting for the upper and lower range limit.

Remaining tasks

Fix the SliderProcessor.

User interface changes

None

API changes

The active configurations may behave differently after the change. This may not be a problem in most cases.

Data model changes

None

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands erlendsynetic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada camilocodes

    Just commenting on this old thread to confirm that this issue still happens. In my case, it was simply easier to set a reasonable max value for the facet. I still spent a lot of time trying to figure out why the facet would simply disappear when trying to set an arbitrary min value with a query max value.

  • First commit to issue fork.
  • Merge request !273Resolve #3252416 "Slider max type" → (Open) created by matthijs
  • 🇧🇪Belgium matthijs

    Created MR for Facets 3.0.x. I also fixed some issues related to the min/max being not in sync with the step (related to #3182839).

Production build 0.71.5 2024