Fix is:watched on multiple projects
If the caller ran is:watched the final predicate tree used an AND to join the different projects together. This should be an OR node. An OR was already used for watchedby:other. Bug: issue 2013 Change-Id: Ic634b62691e0ef4da98b27ae4f446bca5a5eda5c
This commit is contained in:
@@ -89,7 +89,7 @@ class IsWatchedByPredicate extends AndPredicate<ChangeData> {
|
|||||||
} else if (checkIsVisible) {
|
} else if (checkIsVisible) {
|
||||||
return ImmutableList.of(or(r), builder.is_visible());
|
return ImmutableList.of(or(r), builder.is_visible());
|
||||||
} else {
|
} else {
|
||||||
return r;
|
return ImmutableList.of(or(r));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user