We have successfully imported the properties however only 4 of about 450 properties in Herentals show up in front-end?
Go to "eigendom zoeken", query: Provincie: Antwerpen, Stad: Herentals and search.
If you search for properties in Herentals in the backend you will see them all appearing.
Please solve this issue ASAP today.
Hi,
During troubleshooting, I was able to confirm that what you're experiencing is related to the already known limitation:
https://toolset.com/errata/imported-posts-with-address-field-missing-from-view-result-that-includes-distance-filter/
"A distance filter in a View works directly from the Maps cache of addresses. If posts with an address field are imported they will not be present in the cache, and so will be missing from a View that includes a distance filter."
As you're also importing the posts and your view includes the distance search filter, the Maps block doesn't get a chance to create a cache of the addresses from the newly imported posts. As a result, they are not included in the view's search results.
A fix for this is planned to be covered in Toolset Maps 2.1 and though I don't have a time estimate, I'll update you through this ticket, when it gets released.
For now, a workaround is to create a post view with pagination that shows all the property posts on the map. After every manual import, you can cycle through all the pages in that view's page, so that a map-cache can be created/updated for the address fields from all the posts.
( I've created a temp page with a view named "Test page from TS support" at {yourwebsite.com}/wp-admin/post.php?post=8024&action=edit )
regards,
Waqar
Sorry but I don't understand your workaround, neither what I should do with this page you've created: hidden link. Can you show me over snapshots/video how exactly to solve this issue?
Sure, this quick screencast will make this more clear.
Suppose, you have just imported some posts which include any "address" type custom field. You'll visit the temporary page that I've created and will visit or cycle through all the paginated results once, as shown in this screencast:
hidden link
As a result, all available addresses will be plotted on the map and will be included in the map's address cache.
After that any post views where you have used this address field ( for example hidden link ), the search will function correctly.
I published the page you've created: hidden link and run through all the pages in the front-end (as I think that should be done?). Now more properties appear but not all. For example for "Appartementen" "Herentals" there should appear 329 properties and there only appear 98. For "Pand" "Herentals" there should appear 771 properties and there only appear 433.... I guess you didn't include all the posts in eigendommen, can you include them please so we can run through them again before our next demo today at 11am CET?
Thanks for writing back.
The view on my test page was set to include all eigendommen posts and it seems that when you checked the search view, the address field's map-cache was still being updated in the back-end.
I've made few changes on my test page so that it is easier to see the available results. You'll note that the search for Appartement > Antwerpen > Herentals returns 257 results on both pages (i.e. 'Test page from TS support' and 'Eigendom zoeken').
We added some fields to the properties template and updated them over WP all import. If we do a search on hidden link for "Antwerpen" "Herentals" "woningen" "in review" them these properties are updated with the new fields. However If we do a search for "Antwerpen" "Herentals" "appartementen" "in review" OR "Antwerpen" "Herentals" "panden" "in review" then these properties are NOT updated with the new fields. What is wrong here?
Thanks for writing back.
I've created a new ticket for the missing fields and will follow up on that ticket, separately.
( ref: https://toolset.com/forums/topic/split-not-all-imported-fields-are-showing/ )
My issue is resolved now. Thank you!