Price formset in the Product edit page

This commit is contained in:
imperosol committed 2026-04-29 12:53:20 +02:00
1 parent 0f02d55318
commit 40fce1609d
3 files changed
+126 -18

No files matched your search

+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)]