Commit 8563ecdd authored by Paul Brown's avatar Paul Brown

Merge pull request #1264 from xqliu/master

Fix current_user can not be used on can_view_details and can_export #1263
parents 0539ac75 b07d1abd
......@@ -848,11 +848,9 @@ class BaseModelView(BaseView, ActionsMixin):
self._sortable_columns = self.get_sortable_columns()
# Details view
if self.can_view_details:
self._details_columns = self.get_details_columns()
# Export view
if self.can_export:
self._export_columns = self.get_export_columns()
# Labels
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment