Add items_total_delivered to allowed_columns

master
informatic 2020-04-29 13:55:19 +02:00
parent 7ad9fa4335
commit 7f537618d3
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class FaceshieldRequestAdmin(ModelView):
}
allowed_columns = None
extra_allowed_columns = ('id',)
extra_allowed_columns = ('id','items_total_delivered')
@property
def _list_columns(self):
self.allowed_columns = self.allowed_columns or (self.scaffold_list_columns() + list(self.extra_allowed_columns))