ACI: Fix recently introduced bug (#35139)

This fixes #35135
This commit is contained in:
Dag Wieers
2018-01-20 22:32:45 +01:00
committed by GitHub
parent 2ad91dd359
commit 192c0dc9d1

View File

@@ -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)