Advanced search question

Can you paste a link to your app? It’d be much easier.

here is the search page: https://bubble.io/site/lunchapedia/test_search_3_0

not sure if you can access this, but this is the link to the design of the page in question: https://bubble.io/page?type=page&name=test_search_3_0&id=lunchapedia&tab=tabs-1

Here is what you “could” do. Unfortunately, list of addresses aren’t handled well yet, so you’re a bit limited on that one.

2 Likes

ok thanks.

when you use ‘first item’, is it going to check only one shop location or does it cycle through all of them? if it is just one, how does it sort them? is it the nearest one, or is it just the order that they happen to sit on the Food Item?

It is possible that there is more than one instance of the Food Item that is in a shop within the search area (is the Food Item has more than one ‘Shop_where_Available’ in the search area. How would this be handled?

Thanks

Simon

yeah, that the first location that is being checked, by the order they happen to be. That’s why i said it’s not ideal.

well if the shop is the first in the list for both food items, they both would be in the search results.

OK. If there is no way that I can search and return using more that one entry on a list then I think I have a major problem with this design…

In order to keep the database manageable, a food item should be only listed once, although it can be sold in more than one shop. That is why I had a list of shops where it is available.

I think that the only ways to get round this now are:

a) Have a much bigger list of food items where there is only one for each shop. So if there is a food item that is available in 10 shops, it will appear 10 times. Perhaps we can think of a clever way to allow the creation of many food items at once by cycling through all the shops in a chain of shops and adding one item for each shop.

b) - Somehow make the database somewhere else then use an API to query it from Bubble - however not sure where to start with this one.

What do you think? a) sounds ok but would be interested in your (and others’) views before I start down this path.

Thanks

a) is definitely an option, but let me check if we can do something regarding list of places.

1 Like

Did you have any luck with this check?

I am keen to get this first stage of the app over the line. Maybe just having a much longer list of items is the easiest - but then I will try to make a clever input screen that cycles through them.

We’re in the middle of a database overhaul, so right now isn’t ideal but we can probably come up with something in November.

1 Like

Hi, just wondering if you were able to allow a list of Google Places / had any other way to help me with this issue?

If not, do you have a way to iterate a process so I can cycle through a number of Food Items and create a new one for each location (as described in the last post here How to copy a Thing )

Thanks

@emmanuel. Any thoughts?

Thanks

Simon

No we don’t have a way to iterate on a list. We can change a list of things, but iterating on a list of things and running some custom workflows is the kind of things you want to be very careful with.

You can certainly build a list of Google Places, but I’m not sure that’ll help with your search. As I said we’ll work on this, hopefully soon.

Hi Emmanuel,

How did you get on with working on this?

Thanks

Simon

1 Like

We just announced a bulk operation feature which lets you run workflows on a list of things from the editor. That’s probably what you’re looking for.

See this New features announcements & latest deployments

2 Likes

Thanks I will take a look

Hi Emmanuel,

Picking up on a thread from a long time ago - did you do the ‘overhaul of the expression composer’ as indicated?

Many thanks,
Andrew

No, no news there.

Is constraints on a list possible now?