fix(shopping): augmenter limite catalogue 50→500 — tous les articles visibles

Avec 119 articles en base et limit=50, les articles en fin de liste
alphabétique (Îles flottantes, Éponge…) n'apparaissaient pas dans
le bottom sheet. Limite portée à 500 côté backend ET frontend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 10:28:09 +02:00
parent 6677604ad1
commit 58b5de15bb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ export async function deleteStore(id: string): Promise<void> {
// ── Products ─────────────────────────────────────────────────────────────────
export async function searchProducts(q?: string, limit = 50): Promise<Product[]> {
export async function searchProducts(q?: string, limit = 500): Promise<Product[]> {
const qs = new URLSearchParams({ limit: String(limit) })
if (q) qs.set('q', q)
return handleResponse(await fetch(`${BASE}/products?${qs}`))