Price formset in the Product edit page

This commit is contained in:
imperosol
2026-03-05 19:07:42 +01:00
parent 0f02d55318
commit 40fce1609d
3 changed files with 126 additions and 18 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class GroupController(ControllerBase):
)
@paginate(PageNumberPaginationExtra, page_size=50)
def search_group(self, search: Annotated[str, MinLen(1)]):
return Group.objects.filter(name__icontains=search).values()
return Group.objects.filter(name__icontains=search).order_by("name").values()
DepthValue = Annotated[int, Ge(0), Le(10)]