poprawki
This commit is contained in:
2
app.py
2
app.py
@@ -1952,7 +1952,7 @@ def suggest_products():
|
||||
@app.route("/all_products")
|
||||
def all_products():
|
||||
sort = request.args.get("sort", "popularity")
|
||||
limit = request.args.get("limit", type=int) or 100
|
||||
limit = request.args.get("limit", type=int) or 50
|
||||
offset = request.args.get("offset", type=int) or 0
|
||||
|
||||
rows = db.session.query(Item.name, Item.list_id).distinct().all()
|
||||
|
Reference in New Issue
Block a user