refactor CQS search results pages