instantiate searchObj in gnSearchController
Fix getLinksByType  recursive loop