check for disabled search in views