mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
Missing one boolean converter from filters after conversion
This commit is contained in:
@@ -136,7 +136,7 @@ class FieldLookupBackend(BaseFilterBackend):
|
|||||||
def value_to_python(self, model, lookup, value):
|
def value_to_python(self, model, lookup, value):
|
||||||
field, new_lookup = self.get_field_from_lookup(model, lookup)
|
field, new_lookup = self.get_field_from_lookup(model, lookup)
|
||||||
if new_lookup.endswith('__isnull'):
|
if new_lookup.endswith('__isnull'):
|
||||||
value = self.to_python_boolean(value)
|
value = to_python_boolean(value)
|
||||||
elif new_lookup.endswith('__in'):
|
elif new_lookup.endswith('__in'):
|
||||||
items = []
|
items = []
|
||||||
for item in value.split(','):
|
for item in value.split(','):
|
||||||
|
|||||||
Reference in New Issue
Block a user