Skip to content

Commit aed056a

Browse files
committed
Updating:
- Microting.eForm to 3.0.87 - Microting.eFormApi.BasePn to 1.1.46
1 parent 6bd105e commit aed056a

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

eFormAPI/eFormAPI/Controllers/TemplateColumnsController.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using eFormApi.BasePn.Infrastructure;
77
using eFormApi.BasePn.Infrastructure.Helpers;
88
using eFormApi.BasePn.Infrastructure.Models.API;
9+
using eFormShared;
910

1011
namespace eFormAPI.Web.Controllers
1112
{
@@ -20,8 +21,8 @@ public OperationDataResult<List<TemplateColumnModel>> GetAvailableColumns(int te
2021
{
2122
try
2223
{
23-
var core = _coreHelper.GetCore();
24-
var fields = core.Advanced_TemplateFieldReadAll(templateId);
24+
eFormCore.Core core = _coreHelper.GetCore();
25+
List<Field_Dto> fields = core.Advanced_TemplateFieldReadAll(templateId);
2526
List<TemplateColumnModel> templateColumns = new List<TemplateColumnModel>();
2627
foreach (var field in fields)
2728
{
@@ -33,7 +34,7 @@ public OperationDataResult<List<TemplateColumnModel>> GetAvailableColumns(int te
3334
templateColumns.Add(new TemplateColumnModel()
3435
{
3536
Id = field.Id,
36-
Label = field.Label
37+
Label = field.ParentName + " - " + field.Label
3738
});
3839
}
3940
//List<TemplateColumnModel> templateColumns = fields.Select(field => new TemplateColumnModel()

eFormAPI/eFormAPI/eFormAPI.Web.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@
133133
<Reference Include="Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
134134
<HintPath>..\packages\Microsoft.Owin.Security.OAuth.3.1.0\lib\net45\Microsoft.Owin.Security.OAuth.dll</HintPath>
135135
</Reference>
136-
<Reference Include="Microting.eForm, Version=3.0.62.0, Culture=neutral, processorArchitecture=MSIL">
137-
<HintPath>..\packages\Microting.eForm.3.0.62\lib\net45\Microting.eForm.dll</HintPath>
136+
<Reference Include="Microting.eForm, Version=3.0.87.0, Culture=neutral, processorArchitecture=MSIL">
137+
<HintPath>..\packages\Microting.eForm.3.0.87\lib\net45\Microting.eForm.dll</HintPath>
138138
</Reference>
139-
<Reference Include="Microting.eFormApi.BasePn, Version=1.1.43.0, Culture=neutral, processorArchitecture=MSIL">
140-
<HintPath>..\packages\Microting.eFormApi.BasePn.1.1.43\lib\net461\Microting.eFormApi.BasePn.dll</HintPath>
139+
<Reference Include="Microting.eFormApi.BasePn, Version=1.1.46.0, Culture=neutral, processorArchitecture=MSIL">
140+
<HintPath>..\packages\Microting.eFormApi.BasePn.1.1.46\lib\net461\Microting.eFormApi.BasePn.dll</HintPath>
141141
</Reference>
142142
<Reference Include="MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
143143
<HintPath>..\packages\MySql.Data.6.9.12\lib\net45\MySql.Data.dll</HintPath>

eFormAPI/eFormAPI/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
<package id="Microsoft.Owin.Security.Cookies" version="3.1.0" targetFramework="net46" />
3939
<package id="Microsoft.Owin.Security.OAuth" version="3.1.0" targetFramework="net46" />
4040
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net46" />
41-
<package id="Microting.eForm" version="3.0.62" targetFramework="net461" />
42-
<package id="Microting.eFormApi.BasePn" version="1.1.43" targetFramework="net461" />
41+
<package id="Microting.eForm" version="3.0.87" targetFramework="net461" />
42+
<package id="Microting.eFormApi.BasePn" version="1.1.46" targetFramework="net461" />
4343
<package id="Modernizr" version="2.8.3" targetFramework="net46" />
4444
<package id="MySql.Data" version="6.9.12" targetFramework="net461" />
4545
<package id="MySql.Data.Entity" version="6.9.12" targetFramework="net461" />

0 commit comments

Comments
 (0)