considerthis
Member
Hi Guys,
I need to order a list by a dynamic variable
Ex- I have created a custom search form that accept location and converts this to lat long. and it will also take a radius and do a search within that radius.
My only issue is that i cant get to order the list by distance as this value is dynamic and not an element. so i though if there is a way to order the list by prefilter I can run a php code
Thanks in advance
I need to order a list by a dynamic variable
Ex- I have created a custom search form that accept location and converts this to lat long. and it will also take a radius and do a search within that radius.
My only issue is that i cant get to order the list by distance as this value is dynamic and not an element. so i though if there is a way to order the list by prefilter I can run a php code
Thanks in advance