What is wrong with my json input because it doesn't filter the products?
![Osman](https://us.v-cdn.net/6037124/uploads/userpics/1BH9Y40QAW6H/nBNMJ2QCOE5BB.jpg)
I am using an external filter, however, I can't seem to get it to filter correctly. I did the sort and that works and also works through my front end but the filter doesn't seem to work. I want the price to be between the two values. I come from a non technical background so don't really understand what I'm looking at but I've tried nearly everything.
Comments
-
Hi, can you show us how your function stack in Xano looks like? I need some more information to be able to help you.
-
Thank you, @Pawel Magdanski
Is this helpful or would you need anything more?
-
Where are you using this filter input?
-
I am using it on the search in the external tab.
-
Can you show it? Where it is used and how the structure of the JSON looks like
-
Is this what you're looking for?
-
Have you tried using custom query for filtering? I think it should do the work for you and it will be easier to setup
-
Would I be able to use a custom query because the filter value is dynamic as it is a user input and not a fixed value?
-
You can absolutely do that. You can use input values in custom queries conditions, even modify them there.
-
Thank you so much! I'll give it a go soon and if I need help with anything I'll report back here.
-
@Pawel Magdanski I can't seem to use the eval value for the custom queries. The reason I'm having to use the evals is because one product will have multiple prices but I just want to select the cheapest one out of the list for the filtering.
Edit: I think I have a workaround and will test
Edit 2: FINALLY, got it to work! Thank you so much, I really appreciate the help!
-
No problem, cool that you made it work.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback