mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 01:06:11 -06:00
12552 remove extra param
This commit is contained in:
parent
3bd366893c
commit
9ee6511194
@ -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), {})})
|
||||
|
Loading…
Reference in New Issue
Block a user