Searching on parts
Description
Is this featured? For both, searching in the admin, and for creating queries
In the admin, I can search on fulladress, not on parts: see https://pasteboard.co/IVxZA8h.png
In my templates I want to do things like
{% set results = craft.entries()
.search("address.parts.postcode:2000")
.all() %}
Additional info
- Craft version: 3.4.7
- Maps version: 7.3
- PHP version:"ether/simplemap": "3.7.7"
It's not supported currently, but is on our list!
Searching on parts is mentioned in the docs. https://docs.ethercreative.co.uk/maps/getting-started/usage/#parts Any idea when it will be available?
If anyone's interested, I've had to do a workaround to get this sort of functionality working.
You can use the preparse field type (https://plugins.craftcms.com/preparse-field) to save the different address parts into, which then will allow it to be searchable.
This may not be a viable solution for all, but will hopefully help someone!