Commit e38f51c
committed
fix: preserve min_value=0 by bypassing get_test_argument truthy check
get_test_argument uses `{% if value %}` which treats 0 as falsy,
silently dropping min_value=0. Guard with an explicit `is none` check
so that 0 is preserved as a valid threshold value.
Ref: elementary-data/elementary#2177
Made-with: Cursor1 parent 41e6e38 commit e38f51c
1 file changed
Lines changed: 5 additions & 3 deletions
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments