1
0
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:
Daniel Sheppard
2024-03-20 22:02:04 -05:00
parent c596194387
commit adca617369

View File

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