fix ref calc

This commit is contained in:
Matthias Mair 2025-10-15 00:57:49 +02:00
parent 4ef24cae4a
commit 28886083e3
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class FilterableSerializerMixin:
if val: # Save popped value for reuse
poped_kwargs[pop_ref] = val
tgs_vals[k] = (
str2bool(val) if isinstance(val, (str, int, float)) else bool(val)
str2bool(val) if isinstance(val, (str, int, float)) else val
) # Support for various filtering style for backwards compatibility
self.filter_target_values = tgs_vals