From 85851371bec1bb382c974962012020290f941868 Mon Sep 17 00:00:00 2001 From: Laurent BEIGBEDER Date: Wed, 18 Dec 2024 16:20:36 +0100 Subject: [PATCH] 9639 : bug with format without separator --- server/kernel/src/Transformation/TransformationResult.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/kernel/src/Transformation/TransformationResult.cpp b/server/kernel/src/Transformation/TransformationResult.cpp index 70b62c8..01a6a32 100644 --- a/server/kernel/src/Transformation/TransformationResult.cpp +++ b/server/kernel/src/Transformation/TransformationResult.cpp @@ -72,7 +72,9 @@ namespace TREPS for (t_FieldList::const_iterator field = fields->begin(); field != fields->end(); ++field) { - if (/*((*field).type == FT_TIME) &&*/ ((*field).id.compare(timeFieldId) == 0)) + // 9639 update starting index copy, escape all time fields + // if (/*((*field).type == FT_TIME) &&*/ ((*field).id.compare(timeFieldId) == 0)) + if (/*((*field).type == FT_TIME) &&*/ ( atoi((*field).id.c_str()) <= atoi(timeFieldId) )) continue; this->dstFields.push_back((*field)); } -- libgit2 0.21.2