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