I have created an extended search webpart to fetch results based on query like ContentType:"xxx". But it's returning empty folders with no links along with the search results. When I add the same query in search box, the search centre returns and shows correct results.
What could be causing this issue?