mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 10:07:15 +01:00
Use 1/0 instead of true/false
This commit is contained in:
parent
f6d78a0044
commit
1c83f489d1
2 changed files with 14 additions and 4 deletions
|
|
@ -313,7 +313,10 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
|||
break
|
||||
case FILTER_ASN_ISNULL:
|
||||
this.textFilterTarget = TEXT_FILTER_TARGET_ASN
|
||||
this.textFilterModifier = TEXT_FILTER_MODIFIER_NULL
|
||||
this.textFilterModifier =
|
||||
rule.value == 'true' || rule.value == '1'
|
||||
? TEXT_FILTER_MODIFIER_NULL
|
||||
: TEXT_FILTER_MODIFIER_NOTNULL
|
||||
break
|
||||
case FILTER_ASN_GT:
|
||||
this.textFilterTarget = TEXT_FILTER_TARGET_ASN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue