Filter the resources when the resouce view initializes