Enable card number filter by default, for legacy customers grid
This commit is contained in:
parent
c18be17c36
commit
7498a6f2cd
|
@ -68,6 +68,9 @@ class CustomerView(CoreOfficeMasterView):
|
||||||
def configure_grid(self, g):
|
def configure_grid(self, g):
|
||||||
super(CustomerView, self).configure_grid(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_active = True
|
||||||
g.filters['first_name'].default_verb = 'contains'
|
g.filters['first_name'].default_verb = 'contains'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue