From ace18e86ffa034d794f27466099e4420b0b5381f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 8 Oct 2019 09:37:21 -0500 Subject: [PATCH] Fix label bug for grid filter with value choices dropdown --- tailbone/grids/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index f9f13d27..e84ef224 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -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]