add ID filter to vendors grid

This commit is contained in:
Lance Edgar 2012-10-04 08:40:53 -07:00
parent 6d7732b34a
commit 4644f283dd

View file

@ -39,7 +39,7 @@ class VendorsGrid(SearchableAlchemyGridView):
sort = 'name' sort = 'name'
def filter_map(self): def filter_map(self):
return self.make_filter_map(ilike=['name']) return self.make_filter_map(exact=['id'], ilike=['name'])
def filter_config(self): def filter_config(self):
return self.make_filter_config( return self.make_filter_config(