Skip to content

Commit

Permalink
fix: projects infrastructures ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jul 9, 2024
1 parent bf19cc1 commit 1f6346c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ricerca_app/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1f6346c

Please sign in to comment.