Issue filtering page list

I have an issue with one attribute value, when filtering a page list, it’s really odd.

My attribute is:

Project Type
project_type

Values:
Commercial
Community
Education
Heritage and Ecclesiastical
Residential
Senior Living

I then have an ajax page list using a block in a package using this code to filter the value:

$pl->filterByAttribute('project_type', $type, "==");

I have used this code before without issue.
This filter is working perfectly, except for the value “Heritage and Ecclesiastical”, where it returns no pages. There are at least 3/4 pages which should be returned.
It returns pages for all the other values.
I renamed it “Dave”, still shows no results.
I deleted it and re-added it, still shows no results.

Something really odd going on, suspect a bug maybe?

Perhaps that page has the ‘Exclude From Page List’ attribute checked?
Or maybe the ‘Is Featured’ attribute is unchecked?

Nothing like that sadly

First of all, please run “Reindex Content” task.

1 Like

Thanks for your help guys. The client reduced the options so the issue disappeared anyway, so not sure what the fix is, but if I come across this again I’ll try the reindex content task.