Remove comparison symbols from numeric filter labels

This commit is contained in:
Jason Novinger
2025-12-03 18:51:58 -06:00
parent 2ef6d7f76a
commit 807a22db23

View File

@@ -39,20 +39,20 @@ FORM_FIELD_LOOKUPS = {
forms.IntegerField: [ forms.IntegerField: [
('exact', _('is')), ('exact', _('is')),
('n', _('is not')), ('n', _('is not')),
('gt', _('greater than (>)')), ('gt', _('greater than')),
('gte', _('at least (≥)')), ('gte', _('at least')),
('lt', _('less than (<)')), ('lt', _('less than')),
('lte', _('at most (≤)')), ('lte', _('at most')),
(MODIFIER_EMPTY_TRUE, _('is empty')), (MODIFIER_EMPTY_TRUE, _('is empty')),
(MODIFIER_EMPTY_FALSE, _('is not empty')), (MODIFIER_EMPTY_FALSE, _('is not empty')),
], ],
forms.DecimalField: [ forms.DecimalField: [
('exact', _('is')), ('exact', _('is')),
('n', _('is not')), ('n', _('is not')),
('gt', _('greater than (>)')), ('gt', _('greater than')),
('gte', _('at least (≥)')), ('gte', _('at least')),
('lt', _('less than (<)')), ('lt', _('less than')),
('lte', _('at most (≤)')), ('lte', _('at most')),
(MODIFIER_EMPTY_TRUE, _('is empty')), (MODIFIER_EMPTY_TRUE, _('is empty')),
(MODIFIER_EMPTY_FALSE, _('is not empty')), (MODIFIER_EMPTY_FALSE, _('is not empty')),
], ],