Skip to content

search pagination: add extensive tests for slicing + fix critical issues

Warren Gifford requested to merge sg/pagination-fixes into master

Created by: slimsag

This PR fixes two critical issues with the search pagination API:

Fixes #6022 (closed) Fixes #6020 (closed)

Additionally, I used TDD and added extensive tests for sliceSearchResults which was the source of all the bugs I fixed here.

Test plan: see new tests added

Merge request reports

Loading