quick search: Exchange account lead to the “Mailbox” page
This commit is contained in:
parent
9832131b0d
commit
cfe3210b58
2 changed files with 8 additions and 1 deletions
|
@ -12340,7 +12340,7 @@ SET @sqlSpace = @sqlSpace + 'SI.ItemID
|
|||
EA.ItemID AS ItemID,
|
||||
EA.AccountName as TextSearch,
|
||||
''ExchangeAccount'' as ColumnType,
|
||||
''ExchangeAccount'' as FullType,
|
||||
''ExchangeAccountMailbox'' as FullType,
|
||||
SI2.PackageID as PackageID,
|
||||
EA.AccountID as AccountID
|
||||
FROM @ItemsService AS I2
|
||||
|
|
|
@ -48,6 +48,7 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
const string TYPE_DOMAIN = "Domain";
|
||||
const string TYPE_ORGANIZATION = "Organization";
|
||||
const string TYPE_EXCHANGEACCOUNT = "ExchangeAccount";
|
||||
const string TYPE_EXCHANGEACCOUNT_MAILBOX = "ExchangeAccountMailbox";
|
||||
const string PID_SPACE_WEBSITES = "SpaceWebSites";
|
||||
const string PID_SPACE_DIMAINS = "SpaceDomains";
|
||||
const string PID_SPACE_EXCHANGESERVER = "SpaceExchangeServer";
|
||||
|
@ -155,6 +156,12 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
"AccountID="+this.tbAccountId.Text,"Context=User",
|
||||
"moduleDefId=ExchangeServer");
|
||||
break;
|
||||
case TYPE_EXCHANGEACCOUNT_MAILBOX:
|
||||
res = PortalUtils.NavigatePageURL(PID_SPACE_EXCHANGESERVER, "ItemID", itemId.ToString(),
|
||||
PortalUtils.SPACE_ID_PARAM + "=" + spaceId, "ctl=edit_user",//"mid="+this.ModuleID.ToString(),
|
||||
"AccountID=" + this.tbAccountId.Text, "Context=Mailbox",
|
||||
"moduleDefId=ExchangeServer");
|
||||
break;
|
||||
default:
|
||||
res = PortalUtils.GetSpaceHomePageUrl(itemId);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue