Skip to content

Commit 7528507

Browse files
claudiamurialdoBeta Bot
authored and
Beta Bot
committedMar 25, 2025
Cherry pick branch 'genexuslabs:fix/rest-context-timezone' into beta
1 parent 9f29009 commit 7528507

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRestServices.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ internal void Initialize()
9292
if (restSDT != null)
9393
{
9494
restSDT.Sdt.Localize(context);
95+
restSDT.Sdt.context = context;
9596
return restSDT.InternalSdt;
9697
}
9798
else
@@ -104,9 +105,10 @@ internal void Initialize()
104105
if (restModel != null)
105106
{
106107
restModel.LoadCollection(internalModel);
107-
foreach(var item in internalModel)
108+
foreach(GxUserType item in internalModel)
108109
{
109110
item.Localize(context);
111+
item.context = context;
110112
}
111113
}
112114
}

0 commit comments

Comments
 (0)