add category and title search restriction to query string