I am searching for an answer to this question for days now but never could find a way out… maybe someone has the answer
I have a list of listings, and when a user submit a new listing i ask for a “delivery area” (in a input) which is a number.
What i would like to do is to filter the results of the search according to the value entered in the input delivery area when the user submitted his listing.
Does anyone has an idea of how to make it happen please ?
Yes in fact, I am searching in a repaeating group, could you be more specific about the constraint function please ?
I already try some with it but couldn’t find the way out from here.
I did -> location is within list of rentals list of listings delivery area :count km of searchbox value
but it doesn’t work because it says “delivery area” is not a number. this is strange because, in fact, this is a number…
for the moment i let “location is within 100km of searchbox value”.
If you have some advice i’m listening, thank a lot !
Please tell me what you’re trying to filter. From what I can gather, the “delivery area” is the number of kilometers the listing will be able to deliver from their location. If this is correct, then you should do the following:
location is within [search listings (filtered to the listing you want) :first item’s delivery area] km from searchbox’s value
There should be no :count involved in the expression.
Yes this is exactly what i would like to do, if someone click “paris” in searchbox, i would like all listings with a delivery area (number of kilometers) high enough to reach paris to be visible in the results.
I just tried what you suggest but i probably miss something, it does not include the number of kilometers of the delivery area in the search result. Anyway your a great help and this is kind to take time to answer me
No, it does not work either. My repeating group is in a group, do you think this is the reason why it does not work ? also tried some other solution but no, still doesn’t work
(zone de chalandise = delivery area; listing oeuvre = the name of my list of listings)
Yes I know, i don’t know why each time I try to do “listing oeuvre” bubble make it double.
Ok, I’ll try what you suggest, thank you very much for your time
It’s possible that the second “listings oeuvres” is a state. That would explain it automatically filling in that value. But ok, let me know how you get on.
I think i figured it out something. with your first guess : location is within [search listings (filtered to the listing you want) :first item’s delivery area] km from searchbox’s value
bubble, takes only the delivery area of the first listing and apply this number to all the other instead of extract and apply from each listings the corresponding value.
I am really sorry to bother you with my problem but I noticed you don’t hesitate to help bubble users on this forum so maybe you will accept to help me on this one, it would be very nice of you
I have a list of listings displayed in a repeating group. Each listing has a location and a delivery area (number of kilometers) which is defined in an input field when the user submit his listing.
What i would like to set up is, when a customer enter a location in the searchbox, all listings with a delivery area (number of kilometers) high enough to reach the searchbox’s value locationto be displayed in the repeating group. if the delivery area’s value is not high enough i would like the listing not to be displayed.
I would like to know if it’s possible and how to set this up. I tried for a week now with constraint “location is within” but it doesn’t work at all and i am really stuck right now… thank you very much for your time and your help