diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchSetSelectBox.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchSetSelectBox.java index 7f7a36e353..df12b706aa 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchSetSelectBox.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/patches/PatchSetSelectBox.java @@ -190,10 +190,10 @@ public class PatchSetSelectBox extends Composite { return null; } - Patch.Key key = - (idSideA == null) ? patchKey : (new Patch.Key(idSideA, patchKey.get())); + Patch.Key key = (idActive == null) ? // + patchKey : (new Patch.Key(idActive, patchKey.get())); - String sideURL = (side == Side.A) ? "1" : "0"; + String sideURL = (idActive == null) ? "1" : "0"; final String base = GWT.getHostPageBaseURL() + "cat/"; Image image = new Image(Gerrit.RESOURCES.downloadIcon());