Merge "gr-confirm-revert-dialog: Replace basic radio button with md-radio"
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 ccba1ab..0650a50 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,10 +3502,15 @@
)
) 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:*',
},