I have succsefully managed to filter entries by matching an url segment to a Radio Buttons Field in my entries, like this: (here category is the field handle of my Radio Buttons field)
{% set filteredEntries = craft.entries.section('news').category(craft.request.getSegment(2)) %}
After having to change the Radio Buttons Field to a Checkboxes Field I tried adapting my code like this: (here category is the field handle of my Checkboxes Field)
{% set filteredEntries = craft.entries.section('news').category.contains(craft.request.getSegment(2)) %}
But it doesn't work. Any suggestions?
craft_searchindextable)might become out of date/sync with the data that is in the rest of the tables it is supposed to represent. So if you need 100% accuracy, 100% of the time, then don't use it. – Brad Bell Jan 28 '15 at 18:31