diff --git a/ricerca_app/services.py b/ricerca_app/services.py index 04b9e3c6..2329b601 100644 --- a/ricerca_app/services.py +++ b/ricerca_app/services.py @@ -4704,14 +4704,11 @@ def getProjectInfrastructures(): query = ProgettoDatiBase.objects.values( "uo", "uo__denominazione", - ).distinct() - + ).distinct().order_by("uo__denominazione") query = list(query) - for q in query: if q['uo'] == None: query.remove(q) - return query