2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Fix table_filters.js

This commit is contained in:
Oliver
2021-07-29 11:52:50 +10:00
parent a222efda33
commit 28bf5bfdbc
2 changed files with 20 additions and 16 deletions

View File

@ -85,7 +85,7 @@ class BaseInvenTreeSetting(models.Model):
# Convert to javascript compatible booleans
if cls.validator_is_bool(validator):
value = 'true' if value else 'false'
value = value.lower()
# Numerical values remain the same
elif cls.validator_is_int(validator):