add ID filter to vendors grid
This commit is contained in:
parent
6d7732b34a
commit
4644f283dd
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue