Commit 02439308 authored by Iuri de Silvio's avatar Iuri de Silvio

Apply `type_formatter` after `column_formatter` in list view.

parent e9ddcd5c
......@@ -1058,9 +1058,9 @@ class BaseModelView(BaseView, ActionsMixin):
"""
column_fmt = self.column_formatters.get(name)
if column_fmt is not None:
return column_fmt(self, context, model, name)
value = self._get_field_value(model, name)
value = column_fmt(self, context, model, name)
else:
value = self._get_field_value(model, name)
choices_map = self._column_choices_map.get(name, {})
if choices_map:
......
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