mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-12 19:39:35 -06:00
Remove comparison symbols from numeric filter labels
This commit is contained in:
parent
197f94a6ef
commit
1923d889f5
@ -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')),
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user