Link to owner query from user name in ChangeTable2
The link to change owners' dashboards was removed a while ago from the ChangeTable2. Reinstate an owner link but this time link it to a search for other changes owned by that user. The original link used the accountId, this time use the fullname instead. Change-Id: Ie23094416b4bfd2d9c522253df9847833c297ee2
This commit is contained in:
@@ -59,6 +59,10 @@ public class PageLinks {
|
||||
return "/admin/projects/" + p.get() + ",access";
|
||||
}
|
||||
|
||||
public static String toAccountQuery(final String fullname) {
|
||||
return "/q/owner:\"" + KeyUtil.encode(fullname) + "\"," + TOP;
|
||||
}
|
||||
|
||||
public static String toAccountDashboard(final AccountInfo acct) {
|
||||
return toAccountDashboard(acct.getId());
|
||||
}
|
||||
|
Reference in New Issue
Block a user