Hide abandoned changes from Cherry Picks Panel on new change screen
Change-Id: I90bef3d1335474ae35acbbb4429c92757c766adc Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
committed by
Edwin Kempin
parent
fe847ec8be
commit
114188ad2f
@@ -178,6 +178,7 @@ public class RelatedChanges extends TabPanel {
|
|||||||
cherryPicksQuery.append(op("project", info.project()));
|
cherryPicksQuery.append(op("project", info.project()));
|
||||||
cherryPicksQuery.append(" ").append(op("change", info.change_id()));
|
cherryPicksQuery.append(" ").append(op("change", info.change_id()));
|
||||||
cherryPicksQuery.append(" ").append(op("-change", info.legacy_id().get()));
|
cherryPicksQuery.append(" ").append(op("-change", info.legacy_id().get()));
|
||||||
|
cherryPicksQuery.append(" -is:abandoned");
|
||||||
ChangeList.query(cherryPicksQuery.toString(),
|
ChangeList.query(cherryPicksQuery.toString(),
|
||||||
EnumSet.of(ListChangesOption.CURRENT_REVISION, ListChangesOption.CURRENT_COMMIT),
|
EnumSet.of(ListChangesOption.CURRENT_REVISION, ListChangesOption.CURRENT_COMMIT),
|
||||||
new TabChangeListCallback(Tab.CHERRY_PICKS, info.project(), revision));
|
new TabChangeListCallback(Tab.CHERRY_PICKS, info.project(), revision));
|
||||||
|
|||||||
Reference in New Issue
Block a user