Hello. Thank you for contacting the Toolset support.
Well, in that case, you should try to create a view filter by your custom field city and pass the current city value as the view's shortcode attribute - For example:
[wpv-view name="test-view" city="london"]
Then, Add the query filter to your view for the custom field and select filter by shortcode attribute "city":
Thanks for the reply. I did the same and everything was working fine. I then changed the view name and slug (as I was doing a testing with a test name) and suddenly the view has stopped working i.e. no items found.
I then tried creating a new view but that is also not working. I enabled debug mode and the mysql query seems to be correct but the results found are zero.
Can you please share problem URL where you added the view as well as wp-admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Thanks for the fix. However I dont understand, what exactly was wrong. As far as I remember, I had selected correct field 'Vendor Main City' and 'Vendor Main Country' in respective views filter.
Did you do anything else apart from changing the attribute name to vcity?
no -when you try to add query filter - you will see the fields 'Vendor Main City' and 'Vendor Main Country' will appear two times within that query filter select box, and I chose another one which appears at bottom of the select box and it works and that's the correct field to add to query filter section.