mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for token filtering
This commit is contained in:
parent
f2bd338bfc
commit
2eee50bbe9
@ -37,9 +37,9 @@ class TokenFilters extends QueryFilters
|
||||
}
|
||||
|
||||
|
||||
public function is_system(bool $value = false): Builder
|
||||
public function is_system(string $value = 'false'): Builder
|
||||
{
|
||||
return $this->builder->where('is_system', $value);
|
||||
return $this->builder->where('is_system', $value == 'false' ? false : true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user