Filtering page list by multiple select page attribute
PermalinkThe 'sector' page attribute is set as a select box with the ability for users to select multiple options. Right now, the filter works fine if only one option has been chosen for pages:
// Filter by Sector $sector = $_GET['sector']; if($sector != 'none') { $pl->filterByAttribute('sector', "\n".$sector."\n"); }
However, if a filter is run, any pages with more than one option set on it's 'sector' attribute won't show up. Even if one of it's values is a match.
Is there anything I can change to $pl->filterByAttriubute() to make this work?
