Confirmed. In 4.0.24, this was broken by a fix to a related bug. The new bug is that regular pages that are also chapters in a book do not appear in search results that are being filtered by page-type (your site has opted to filter out Attachments). The old bug was that regular pages that are chapters in a book were appearing in the content list when 'chapter' was filtered out and 'normal pages' was selected. Both search and content-list filter against the same database columns.
So we don't re-break the previous fix, I think we can have search add 'chapters' when 'pages' are selected as a search filter, since 'chapters' is not one of the search filters itself. However, this will also require some changes to the way we construct the database queries, since there would be the potential for complicated situations that must be filtered:
- e.g. if there is a book that is also a chapter, but 'books' are being filtered out, then that book would still appear in the results when only 'pages' are selected.
Another thing you may notice is that area titles are not included in quick-search results either. Area needs to be added to the filter choices.