Add department to field lists for category views.

This commit is contained in:
Lance Edgar 2015-01-31 18:18:54 -06:00
parent ccb7b47912
commit 7fbabc8792

View file

@ -54,6 +54,7 @@ class CategoriesGrid(SearchableAlchemyGridView):
include=[
g.number,
g.name,
g.department,
],
readonly=True)
if self.request.has_perm('categories.read'):
@ -79,6 +80,7 @@ class CategoryCrud(CrudView):
include=[
fs.number,
fs.name,
fs.department,
])
return fs