mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Fix mistake with QS swapping
This commit is contained in:
parent
c596194387
commit
adca617369
@ -67,7 +67,7 @@ class RenderConfigMixin(ConfigTemplateRenderMixin):
|
||||
Override initial() to save a copy of the queryset for "un-restricting" the queryset when rendering.
|
||||
"""
|
||||
def initial(self, request, *args, **kwargs):
|
||||
self.original_qs = self.queryset
|
||||
self.original_queryset = self.queryset
|
||||
super().initial(request, *args, **kwargs)
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user