1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

12552 remove extra param

This commit is contained in:
Arthur
2023-05-24 14:44:25 -07:00
parent 3bd366893c
commit 9ee6511194

View File

@@ -98,7 +98,6 @@ class TreeManager(Manager.from_queryset(TreeQuerySet), TreeManager_):
"table1": rel_model._meta.db_table,
"table2": rel_model._meta.get_field(rel_field).remote_field.model._meta.db_table,
"rel_field": rel_field,
"count_attr": count_attr,
}
return queryset.annotate(**{count_attr: RawSQL(SQL.format(**params), {})})