diff --git a/CHANGELOG.md b/CHANGELOG.md index 05aa3c3be..4840233e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added * Update favicon to be the Elastic Package Registry logo. [#858](https://github.com/elastic/package-registry/pull/858) -* Implement proxy mode. [#860](https://github.com/elastic/package-registry/pull/860) [#871](https://github.com/elastic/package-registry/pull/871) +* Implement proxy mode. [#860](https://github.com/elastic/package-registry/pull/860) [#871](https://github.com/elastic/package-registry/pull/871) [#873](https://github.com/elastic/package-registry/pull/873) ### Deprecated diff --git a/search.go b/search.go index 6e67df451..68a54983a 100644 --- a/search.go +++ b/search.go @@ -53,6 +53,7 @@ func searchHandlerWithProxyMode(indexer Indexer, proxyMode *proxymode.ProxyMode, return } packages = packages.Join(proxiedPackages) + packages = latestPackagesVersion(packages) } data, err := getPackageOutput(r.Context(), packages)