Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/postgres: update UpsertSearchDocument to prefer non-incompat…
…ible modules Updates UpsertSearchDocument's to use orderByLatest in the query to prefer compatible modules when inserting into the search_documents table. This change updates the versions seen in the search results once the module is reprocessed. before: https://i.imgur.com/A7boYiC.png after: https://i.imgur.com/ZLdTuex.png Updates golang/go#37714 Change-Id: I527e6f157c5ddfe2a73e561f0be78738d97bb2fc Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/249278 Reviewed-by: Julie Qiu <julie@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
- Loading branch information