Merge pull request #1798 from GaborApatiNagy/master_CA-266911

CA-266911: Exported data from Notification->updates page having incorrect values for "Web page"column
This commit is contained in:
Mihaela Stoica 2017-10-03 17:57:26 +01:00 committed by GitHub
commit a62c04a3a9
3 changed files with 3 additions and 4 deletions

View File

@ -51,7 +51,7 @@ namespace XenAdmin.Alerts
public override string WebPageLabel public override string WebPageLabel
{ {
get { return Messages.AVAILABLE_UPDATES_DOWNLOAD_TEXT; } get { return NewVersion.Url; }
} }
public override string Name public override string Name

View File

@ -104,8 +104,7 @@ namespace XenAdmin.Alerts
{ {
get get
{ {
Uri uri = new Uri(Patch.Url); return Patch.Url;
return uri.Segments.Last();
} }
} }

View File

@ -53,7 +53,7 @@ namespace XenAdmin.Alerts
public override string WebPageLabel public override string WebPageLabel
{ {
get { return Messages.AVAILABLE_UPDATES_DOWNLOAD_TEXT; } get { return Version.Url; }
} }
public override string Name public override string Name