I have built a RG from a database. This RG searches for database named abonnementer and has contraints: slider input taletid and slider input data and a custom state list as shown in the screenshot.
The problem is, when a search happens such as:
User moves slider input to “number > 0”
User selects 2 or more buttons, which gets added to the custom state list.
Ps. This does not happen when only 1 button is selected.
Search results appear just fine.
But when user moves slider input to “number less than previously selected”, no results appear.
This only happens in this order for some reason, and i don’t seem to know why… Can anyone help?
Yes, there is plenty of data that meets the filter criteria.
45-27 entrys should match this criteria but its like the slider locks at example 35 (as shown in gif) when it is selected as first criteria and when it goes under 35 it won’t show the matching entrys when buttons are selected for the custom state.
When it goes over 35 it finds matches just fine, maybe it has something to do with the Timer > Sliderinput Taletid’s value -1? (as shown in screenshot)
Gotcha.
I don’t see anything that would be causing the issue.
What I’ve done in the past and I know it’s a pain is to rebuild the query 1 filter at a time and test it. This way you can identify which query is causing the problem and look at that specific part closer.
I messed around with it, and i can make it work if i set the search with a button on a workflow with the following.
Clear list in repeating group abonnementer -> Display list in repeating group abonnementer (with the same constraints as in the screenshot)
I think this is working because the repeating group is making a new search everytime the button is clicked.
Is there a way to make the repeating group make a whole new search everytime an input is changed, automatically? Because i tried with a workflow that updates every 5 seconds (with clear list -> display list), but that does the same error as the original problem.
Any ideas? Because the optimal UX is to have the repeating group update in realtime.