removed logic in view to toggle advance search