VZ Address
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Eli Van Zoeren
Filter by Location
Feature Request
Elemento
|
Posted: 16 July 2013 03:32 PM |
|
|
|
Is there a way to filter/sort entries by state? That would be great.
|
|
|
Eli Van Zoeren
|
Posted: 16 July 2013 04:13 PM |
# 1
|
|
Developer
|
I wish that there were, and that is one of the most-requested feature, but unfortunately ExpressionEngine doesn’t give me any way to do that. I would have to write my own channel entries tag. The best you can do is look at how the data is stored in JSON and filter using that formatted substring, like:
search:address_field='"region":"FL"'
. Not the prettiest syntax, but it will get the job done for filtering. There is no way to sort though. If EllisLab ever adds the capability to set custom searching and filtering from within an add-on, I’ll be first in line.
|
|
|