We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8cdef commit 367c145Copy full SHA for 367c145
app/routes.py
@@ -268,6 +268,7 @@ def get_category_products(c_id):
268
.join(subcategory_product)
269
.join(category_subcategory, onclause=subcategory_product.c.subcategory_id == category_subcategory.c.subcategory_id)
270
.filter(category_subcategory.c.category_id == c_id)
271
+ .distinct()
272
.paginate(page=page, per_page=2, error_out=False)
273
)
274
0 commit comments