Closed b-aleksandrov closed 1 year ago
If I try to execute related filter such as: relation_hasSomething=false or relation_hasSomething=0 related filter ignores these values, so I think that it's better to remove empty($value) condition in that line. I have overidden the method in my project and since that everything works fine https://github.com/Tucker-Eric/EloquentFilter/blob/5b55c3761e73d3842b8033bbccc6468c79d06184/src/ModelFilter.php#L653
relation_hasSomething=false
relation_hasSomething=0
empty($value)
If I try to execute related filter such as:
relation_hasSomething=false
orrelation_hasSomething=0
related filter ignores these values, so I think that it's better to removeempty($value)
condition in that line. I have overidden the method in my project and since that everything works fine https://github.com/Tucker-Eric/EloquentFilter/blob/5b55c3761e73d3842b8033bbccc6468c79d06184/src/ModelFilter.php#L653