mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-24 18:07:38 +00:00
fix ref calc
This commit is contained in:
@@ -122,7 +122,7 @@ class FilterableSerializerMixin:
|
|||||||
if val: # Save popped value for reuse
|
if val: # Save popped value for reuse
|
||||||
poped_kwargs[pop_ref] = val
|
poped_kwargs[pop_ref] = val
|
||||||
tgs_vals[k] = (
|
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
|
) # Support for various filtering style for backwards compatibility
|
||||||
self.filter_target_values = tgs_vals
|
self.filter_target_values = tgs_vals
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user