diff options
author | Tomas Ljunggren <tomas.ljunggren@tieto.com> | 2011-11-29 16:08:57 +0100 |
---|---|---|
committer | Tomas Ljunggren <tomas.ljunggren@tieto.com> | 2011-12-05 10:35:45 +0100 |
commit | 7ae770a3c34bfabf1b28db34c529cbf9af204b08 (patch) | |
tree | 0960dfe468589fc6b3411ddcd51704651f9ca511 | |
parent | bbe1e8d95ee2db8d987555e1d84a222d4a23f3d8 (diff) |
Keep highlight on review request
Sanity review caused review request highlighting
to disappear. Now the flag hasReview is not set to
true if approval category equals SRVW
Task-number: QTQAINFRA-385
Change-Id: I834a28d937671f7e14cde7586376cc164576c9c8
Reviewed-by: Tomas Ljunggren <tomas.ljunggren@tieto.com>
-rw-r--r-- | gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java index 8ac346641b..85ef39e76e 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java @@ -344,7 +344,9 @@ public class ChangeTable extends NavigationTable<ChangeInfo> { table.clearCell(row, col); } else { - haveReview = true; + if (!ca.getCategoryId().equals(ApprovalCategory.SANITY_REVIEW)) { + haveReview = true; + } final ApprovalCategoryValue acv = type.getValue(ca); final AccountInfo ai = aic.get(ca.getAccountId()); |