I am wondering if the following can be done by creating a
I am setting up a directory that lists schools, care centres,
hospitals etc. and I need to create a search box that sorts entries according
to their distance to a given location but it also needs to work with other Seblod
search criteria. see image for an example:
For now Seblod does not perform a search based on the distance between GPS coordinates.
To perform such a search, you must store in database the coordinates as in Geometry format. Then it is necessary to use a function in the query on the database, but it is not yet available in SEBLOD. The modification must be done in the core of Seblod and is not anticipated in the immediate future.
The only way around the problem is to make a first request by Seblod based on traditional fields. Then, modify the template used for rendering to perform a second request with the proper function and limited on the results of the first query.