Visually differentiate closed UVs from the others

This commit is contained in:
imperosol
2025-01-21 16:01:50 +01:00
parent 78f3caa455
commit 5fa431e29b
4 changed files with 27 additions and 15 deletions

View File

@ -46,4 +46,4 @@ class UvController(ControllerBase):
)
@paginate(PageNumberPaginationExtra, page_size=100)
def fetch_uv_list(self, search: Query[UvFilterSchema]):
return search.filter(UV.objects.values())
return search.filter(UV.objects.order_by("code").values())