# Missing search item pagination test report

> Read a local test report for an item lost between result pages. Inspect the expected identifiers, observed sequence and boundary check that finds the gap.

Source: https://cueapril.com/reports/search-pagination-missing-item
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## Does pagination silently skip an item when two records have the same sort key?

The original implementation failed the “Page cut inside a tie” check. Expected [2, 3] and observed [3]. The corrected implementation met both expectations on the same inputs.

The page after a cursor includes later IDs with the same sort value. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

## What the control case missed

Two records share the same sort value. A strictly greater sort-key cursor drops the second record if the page boundary falls between them. A distinct ID acts as the tie breaker.

Observed values from the two implementations

| Check | Expected | Original | Corrected |
| --- | --- | --- | --- |
| Last tied item consumed | [3] | [3] | [3] |
| Page cut inside a tie | [2, 3] | [3] | [2, 3] |

## What to check before merging

Keep the same composite ordering in the query and its cursor. Check the union of consecutive pages against the expected IDs. Test concurrent inserts separately because this fixture holds the data fixed.

## Reproduce the recorded result

Download the [Node.js fixture](/examples/qa-regressions/run.mjs) and run node run.mjs search-pagination-missing-item with Node.js 24. Compare the printed JSON with the [recorded results](/examples/qa-regressions/results.json). This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

## Primary documentation

- [Runnable synthetic regression fixtures](/examples/qa-regressions/run.mjs)
- [Recorded output for all twelve fixtures](/examples/qa-regressions/results.json)

By Cue April. Updated 2026-12-01.

## Related

- [Worked test reports](https://cueapril.com/reports): Replay a real mobile pricing defect from a Cue April pull request. Explore runnable reports for checkout, search, data migrations and other regressions.
- [Pull request testing](https://cueapril.com/use-cases/pull-request-testing): See what a pull request test report should show before you merge. Follow a failing checkout check through the fix and inspect a real PR report.
