diff --git a/netbox/extras/models/tags.py b/netbox/extras/models/tags.py index b40327265..7d52d9eb6 100644 --- a/netbox/extras/models/tags.py +++ b/netbox/extras/models/tags.py @@ -83,3 +83,6 @@ class TaggedItem(GenericTaggedItemBase): indexes = [models.Index(fields=["content_type", "object_id"])] verbose_name = _('tagged item') verbose_name_plural = _('tagged items') + # Note: while there is no ordering applied here (because it would basically be done on fields + # of the related `tag`), there is an ordering applied to extras.api.views.TaggedItemViewSet + # to allow for proper pagination.