I am using a filter to find the city compare with the data store on the content file.
Can someone help me applying that on my filter?
I’ve tried to find the correct code, but the filers won’t work.
Any tips on how to solve this?
My site templates:
<?php snippet('investment-property', [ 'investmentsales' => page('investment-sales') ->children() ->filterBy('Location', [ 'city' => 'Bath' ]) ]) ?>
This is my content file:
Thank you so much!