Expose card number filter by default, for meminfo
grid
This commit is contained in:
parent
d89438bb44
commit
ef1ae5f98d
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2020 Lance Edgar
|
# Copyright © 2010-2021 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -103,6 +103,9 @@ class MemberView(CoreOfficeMasterView):
|
||||||
|
|
||||||
g.set_sort_defaults('card_number')
|
g.set_sort_defaults('card_number')
|
||||||
|
|
||||||
|
g.filters['card_number'].default_active = True
|
||||||
|
g.filters['card_number'].default_verb = 'equal'
|
||||||
|
|
||||||
g.set_link('card_number')
|
g.set_link('card_number')
|
||||||
g.set_link('first_name')
|
g.set_link('first_name')
|
||||||
g.set_link('last_name')
|
g.set_link('last_name')
|
||||||
|
|
Loading…
Reference in a new issue