Fix deleted filter for DalSensitivityLevel list
It assigns valid filter state for deleted param for `0` value.
This commit is contained in:
@@ -60,7 +60,7 @@ func (ctrl SensitivityLevel) List(ctx context.Context, r *request.DalSensitivity
|
||||
)
|
||||
|
||||
if f.Deleted == 0 {
|
||||
f.Deleted = filter.StateInclusive
|
||||
f.Deleted = filter.StateExcluded
|
||||
}
|
||||
|
||||
set, f, err = ctrl.svc.Search(ctx, f)
|
||||
|
||||
Reference in New Issue
Block a user