Fix label bug for grid filter with value choices dropdown
This commit is contained in:
parent
08f86a3a7f
commit
ace18e86ff
|
@ -1013,7 +1013,7 @@ class Grid(object):
|
||||||
choice_labels = {}
|
choice_labels = {}
|
||||||
if filtr.choices:
|
if filtr.choices:
|
||||||
choices = list(filtr.choices)
|
choices = list(filtr.choices)
|
||||||
choices_labels = dict(filtr.choices)
|
choice_labels = dict(filtr.choices)
|
||||||
elif self.enums and filtr.key in self.enums:
|
elif self.enums and filtr.key in self.enums:
|
||||||
choices = list(self.enums[filtr.key])
|
choices = list(self.enums[filtr.key])
|
||||||
choice_labels = self.enums[filtr.key]
|
choice_labels = self.enums[filtr.key]
|
||||||
|
|
Loading…
Reference in a new issue