ACI: Fix recently introduced bug (#35139)

This fixes #35135
pull/35141/head
Dag Wieers 7 years ago committed by GitHub
parent 2ad91dd359
commit 192c0dc9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -522,7 +522,7 @@ class ACIModule(object):
# matching the provided ID value for the parent object
else:
path = 'api/class/{0}.json'.format(parent_class)
filter_string = '?query-target-filter={1}{2}'.format(parent_filter, self_child_includes)
filter_string = '?query-target-filter={0}{1}'.format(parent_filter, self_child_includes)
# Query for all objects of the module's class matching the provided ID value of the object
else:
path = 'api/class/{0}.json'.format(obj_class)

Loading…
Cancel
Save