Prepare filters for all pages (not working yet)