Enable card number filter by default, for legacy customers grid

This commit is contained in:
Lance Edgar 2020-07-15 22:17:54 -05:00
parent c18be17c36
commit 7498a6f2cd

View file

@ -68,6 +68,9 @@ class CustomerView(CoreOfficeMasterView):
def configure_grid(self, g):
super(CustomerView, self).configure_grid(g)
g.filters['card_number'].default_active = True
g.filters['card_number'].default_verb = 'equal'
g.filters['first_name'].default_active = True
g.filters['first_name'].default_verb = 'contains'