From 7befaccf4afc2a1af4f0ce4e6bf50f9230000aa3 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Tue, 21 May 2013 11:23:45 +1000 Subject: [PATCH] Fix: Warranty Provider Properties & JSON.net --- Disco.BI/Properties/AssemblyInfo.cs | 4 +-- Disco.Data/Properties/AssemblyInfo.cs | 4 +-- Disco.Models/Properties/AssemblyInfo.cs | 4 +-- Disco.Services/Properties/AssemblyInfo.cs | 4 +-- .../Properties/AssemblyInfo.cs | 4 +-- .../Config/Views/Shared/LogEvents.cshtml | 3 +-- .../Views/Shared/LogEvents.generated.cs | 25 +++++++++---------- Disco.Web/Controllers/JobController.cs | 4 +-- Disco.Web/Models/Job/LogWarrantyModel.cs | 6 ++--- Disco.Web/Properties/AssemblyInfo.cs | 4 +-- 10 files changed, 30 insertions(+), 32 deletions(-) diff --git a/Disco.BI/Properties/AssemblyInfo.cs b/Disco.BI/Properties/AssemblyInfo.cs index 8e9c9207..c8f64a16 100644 --- a/Disco.BI/Properties/AssemblyInfo.cs +++ b/Disco.BI/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.2044")] -[assembly: AssemblyFileVersion("1.2.0516.2044")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0521.1121")] +[assembly: AssemblyFileVersion("1.2.0521.1121")] \ No newline at end of file diff --git a/Disco.Data/Properties/AssemblyInfo.cs b/Disco.Data/Properties/AssemblyInfo.cs index 995cd0b8..348301c6 100644 --- a/Disco.Data/Properties/AssemblyInfo.cs +++ b/Disco.Data/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.2044")] -[assembly: AssemblyFileVersion("1.2.0516.2044")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0521.1121")] +[assembly: AssemblyFileVersion("1.2.0521.1121")] \ No newline at end of file diff --git a/Disco.Models/Properties/AssemblyInfo.cs b/Disco.Models/Properties/AssemblyInfo.cs index 6136c761..85cbef16 100644 --- a/Disco.Models/Properties/AssemblyInfo.cs +++ b/Disco.Models/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.2044")] -[assembly: AssemblyFileVersion("1.2.0516.2044")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0521.1121")] +[assembly: AssemblyFileVersion("1.2.0521.1121")] \ No newline at end of file diff --git a/Disco.Services/Properties/AssemblyInfo.cs b/Disco.Services/Properties/AssemblyInfo.cs index 7064f3ca..11dba5cf 100644 --- a/Disco.Services/Properties/AssemblyInfo.cs +++ b/Disco.Services/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.2044")] -[assembly: AssemblyFileVersion("1.2.0516.2044")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0521.1121")] +[assembly: AssemblyFileVersion("1.2.0521.1121")] \ No newline at end of file diff --git a/Disco.Web.Extensions/Properties/AssemblyInfo.cs b/Disco.Web.Extensions/Properties/AssemblyInfo.cs index 32a5c056..c94e6efc 100644 --- a/Disco.Web.Extensions/Properties/AssemblyInfo.cs +++ b/Disco.Web.Extensions/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.2044")] -[assembly: AssemblyFileVersion("1.2.0516.2044")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0521.1121")] +[assembly: AssemblyFileVersion("1.2.0521.1121")] \ No newline at end of file diff --git a/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml b/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml index eac35342..e8d3506a 100644 --- a/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml +++ b/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml @@ -37,8 +37,7 @@ @{ - var serializer = new System.Web.Script.Serialization.JavaScriptSerializer(); - var eventTypesFilterJson = (Model.EventTypesFilter != null) ? serializer.Serialize(Model.EventTypesFilter.Select(et => et.Id).ToArray()) : "null"; + var eventTypesFilterJson = (Model.EventTypesFilter != null) ? Newtonsoft.Json.JsonConvert.SerializeObject(Model.EventTypesFilter.Select(et => et.Id).ToArray()) : "null"; }