diff --git a/apps/perms/api/user_permission/assets.py b/apps/perms/api/user_permission/assets.py index 676a21e5e..22c187e3e 100644 --- a/apps/perms/api/user_permission/assets.py +++ b/apps/perms/api/user_permission/assets.py @@ -42,7 +42,7 @@ class UserPermedAssetRetrieveApi(SelfOrPKUserMixin, RetrieveAPIView): class BaseUserPermedAssetsApi(SelfOrPKUserMixin, ExtraFilterFieldsMixin, ListAPIView): ordering = [] search_fields = ('name', 'address', 'comment') - ordering_fields = ("name", "address") + ordering_fields = ("name", "address", "connectivity") filterset_class = AssetFilterSet serializer_class = serializers.AssetPermedSerializer