CMS-2768 Refactor fulltext-function to use queryString query

Forgot to fix tests