Fix search by codereview status
Change-Id: I864dc6eca27ed9bca7004ef9bc5b5536737cc6ec Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> Bug: issue 1001
This commit is contained in:
parent
55e9025582
commit
3cd9de924e
|
@ -146,7 +146,7 @@ class LabelPredicate extends OperatorPredicate<ChangeData> {
|
|||
@Override
|
||||
public boolean match(final ChangeData object) throws OrmException {
|
||||
for (PatchSetApproval p : object.currentApprovals(dbProvider)) {
|
||||
if (p.getCategoryId().equals(category)) {
|
||||
if (p.getCategoryId().equals(category.getId())) {
|
||||
int psVal = p.getValue();
|
||||
if (test.match(psVal, expVal)) {
|
||||
// Double check the value is still permitted for the user.
|
||||
|
|
Loading…
Reference in New Issue