diff --git a/flask_appbuilder/security/views.py b/flask_appbuilder/security/views.py index faca735d53..86fa1021fe 100644 --- a/flask_appbuilder/security/views.py +++ b/flask_appbuilder/security/views.py @@ -419,7 +419,7 @@ class UserStatsChartView(DirectByChartView): "fail_login_count": lazy_gettext("Failed login count"), } - search_exclude_columns = UserModelView.search_exclude_columns + search_columns = UserModelView.search_columns definitions = [ {"label": "Login Count", "group": "username", "series": ["login_count"]},