| commit | 3fc5f0ab0041df9c282349575e31f1142973273f | [log] [tgz] |
|---|---|---|
| author | Ben Rohlfs <brohlfs@google.com> | Tue Sep 30 10:06:17 2025 -0700 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Sep 30 10:06:17 2025 -0700 |
| tree | 58331f9f663725d1f539c99a2779dc7d4561e755 | |
| parent | ce2a9145a674af3261f2df55d2ee17e2755d6c4e [diff] |
Revert "Fix getChange ignoring optionsHex on project cache miss." This reverts commit ce2a9145a674af3261f2df55d2ee17e2755d6c4e. Reason for revert: b/448382956. This resulted in /c/$CL_NUMBER redirect broken, because of producing such URLs: https://$HOST/changes/?q=change:481804?q=change%3A481804 Change-Id: I8a44c69aed092150e2d76a22207fd54f0f471cdd
diff --git a/polygerrit-ui/app/services/gr-rest-api/gr-rest-api-impl.ts b/polygerrit-ui/app/services/gr-rest-api/gr-rest-api-impl.ts index 0650a50..ccba1ab 100644 --- a/polygerrit-ui/app/services/gr-rest-api/gr-rest-api-impl.ts +++ b/polygerrit-ui/app/services/gr-rest-api/gr-rest-api-impl.ts
@@ -3502,15 +3502,10 @@ ) ) as Promise<ChangeInfo | undefined>; } else { - const params: FetchParams = {q: `change:${changeNum}`}; - if (optionsHex) { - params['O'] = optionsHex; - } return this._restApiHelper .fetchJSON( { url: `/changes/?q=change:${changeNum}`, - params, errFn, anonymizedUrl: '/changes/?q=change:*', },