mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-04-23 00:09:27 +00:00
Global search only displays 3 results but was fetching all matching IDs and hydrating them via in_bulk. Now passes limit=9 to search_ids(). more_like_this_ids could return limit-1 results when the original doc appeared in the result set. Now fetches limit+1 and slices after filtering. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>