Add user import

This commit is contained in:
2026-06-28 10:11:38 +02:00
parent 3591e0f33a
commit 3c6857e615
3 changed files with 75 additions and 13 deletions

View File

@@ -193,7 +193,9 @@ async def get_products(
user: UserDep,
):
products = session.scalars(
select(Product).order_by(Product.area_id, Product.name)
select(Product)
.join(ProductDetails)
.order_by(Product.area_id, ProductDetails.name)
).all()
templates = get_jinja_renderer()