Add user import
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user