Skip to content

search: only send limit hit if we exceed limit

Administrator requested to merge k/with-limit-1 into main

Created by: keegancsmith

If we have 10 results for a search and specify count:10 then we shouldn't show to the user limithit. So instead we search for 11 results. This is work towards improving how we communicate limit and result counts.

Part of https://github.com/sourcegraph/sourcegraph/issues/18076

Merge request reports

Loading