mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-12 09:46:56 +02:00
The ranking bulk endpoint is capped at 500 by the API server, making it useless for full supplier matching. Per-article ranking (codein filter) works correctly and is now called only for articles WITH sales data. getProductRows restructured: - Phase 2A: mensuel + commandes in parallel (all articles) - Phase 2B: referentiel + ranking in parallel, only for articlesWithData (articles that appear in mensuelMap) For a 45060-article supplier with 5446 with sales: - Referentiel: 45060 → 5446 calls (88% reduction) - Ranking: 45060 → 5446 calls (88% reduction) totalRankedProducts fetched from GET /api/ranking?limit=500 count. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>