{"section":"known-issues","requestedLocale":"en","requestedSlug":"search-result-fetchmore-skips-products-on-the-first-page-when-maxitemsperpage-is-greater-than-initial-item-limit","locale":"en","slug":"search-result-fetchmore-skips-products-on-the-first-page-when-maxitemsperpage-is-greater-than-initial-item-limit","path":"docs/en/known-issues/Intelligent Search/search-result-fetchmore-skips-products-on-the-first-page-when-maxitemsperpage-is-greater-than-initial-item-limit.md","branch":"main","content":"## Summary\n\nWhen the first page uses `fetchMore` to render a PLP, `vtex.search-result` first runs a search limited to the predefined item limit of 18, then runs a second search to fetch the remaining products up to the value set in maxItemsPerPage.\n\nThe problem appears when maxItemsPerPage is greater than 18 and the search returns more than 18 products: the second search switches to a different pagination scheme. For example, a range of from: 18, to: 47 becomes page=2&count=30, so products at positions 18 through 29 are never returned and are missing from the listing.\n\n## Simulation\n\n1. Open PLP where `maxItemsPerPage` is `50`.\n2. Execute the same search via Intelligent Search v1 API.\n3. Compare the results.\n\n\n\n- **Expected behavior:** In the PLP, search result returns the products from position `18` to `50`, to complete the first page.\n- **Actual behavior:** PLP returns products from the position 32. Products from position `18` to `49` are not returned.\n\n## Workaround\n\nThe workaround is to set `maxItemsPerPage` to `18` or `36` in the store theme."}