modified showResources to search all resource types