Search using the MX Range Slider plugin I have a super table field (scoreRanges) that has two columns: mx range slider (range) &amp; rich text (summary). Some entries can have multiple rows:



I'm trying search a row in that field that has a range between a certain value. MX range slider saves data ranges to the database text field like 9;20 which is a range from 9 to 20. 

Does anyone have an idea of how to search for a row between a certain range? So far I have tried this which returns no results.

{% for range in profile.scoreRanges.range('and', '&gt;=' ~ result.points, '&lt;=' ~ result.points) %}
...
{% endfor %}


On the template side, I have variables like {{ range.range.from }} &amp; {{ range.range.to }} to use.

Update

Currently not ideal. Using a conditional to filter the correct row, but will work now ¯\_(ツ)_/¯

{% for range in profile.scoreRanges %}
    {% if result.points &gt;= range.range.from and result.points &lt;= range.range.to %}
        &lt;p&gt;&lt;span class="label label-warning"&gt;Range:&lt;/span&gt; {{ range.range.from }} - {{ range.range.to }}&lt;br&gt; &lt;span class="label label-primary"&gt;Your Score:&lt;/span&gt; &lt;b&gt;{{ result.points }}&lt;/b&gt;&lt;/p&gt;
        {{ range.summary }}
    {% endif %}
{% endfor %}
The way the plugin is currently written, it won't support your initial syntax. i.e. range('and', '&gt;=' ~ result.points, '&lt;=' ~ result.points).  It would need to override BaseFieldType's modifyElementsQuery to support that syntax.

You could slightly improve on your solution by using the MN Break and Continue plugin to at least break out of the for loop once a match is found.