Fix label bug for grid filter with value choices dropdown

This commit is contained in:
Lance Edgar 2019-10-08 09:37:21 -05:00
parent 08f86a3a7f
commit ace18e86ff

View file

@ -1013,7 +1013,7 @@ class Grid(object):
choice_labels = {}
if 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:
choices = list(self.enums[filtr.key])
choice_labels = self.enums[filtr.key]