Hi,

I am using location filed and geodist() asc to show nearest (users latlong)
matching results on top.

Now I have a requirement to rank and show the results based on  ranking eg.,

sort=if(query({geodist():[0+TO+10]}),15,if(query({geodist():[11+TO+20]}),12,4))
desc

Conditional based ranking and show results accordingly, but I am getting
like "Can't determine a Sort Order (asc or desc) in sort spec"


Thanks

Reply via email to