From 7fbabc87929ca9d3897101a470b2a5e5b8079175 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 31 Jan 2015 18:18:54 -0600 Subject: [PATCH] Add department to field lists for category views. --- tailbone/views/categories.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/categories.py b/tailbone/views/categories.py index ed6b9a60..36895a4d 100644 --- a/tailbone/views/categories.py +++ b/tailbone/views/categories.py @@ -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