Skip to content

search: refactor some code for sharing with paginated search

Warren Gifford requested to merge sg/refactor into master

Created by: slimsag

This PR refactors two small sections of search code into reusable functions so that I can share the code with paginated search (which must do very similar work to doResults). You can see how this helps my paginated search change here: https://github.com/sourcegraph/sourcegraph/pull/4796/commits/67423b9e9a0534f0eb0cb122aecdb58e2ccfe5e3

Test plan: Existing tests

Merge request reports

Loading