Skip to content

Commit b19336b

Browse files
committed
-
1 parent 924b0b2 commit b19336b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core.Arango.DevExtreme/ArangoTransform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private string Aggregate()
343343
var groups = _loadOption.Group.Where(x => x.GroupInterval != "hour" && x.GroupInterval != "minute")
344344
.Select(g =>
345345
{
346-
var selector = _settings.ValidPropertyName(g.Selector).FirstCharOfPropertiesToUpper();
346+
var selector = PropertyName(_settings.ValidPropertyName(g.Selector).FirstCharOfPropertiesToUpper(), string.Empty);
347347

348348
var selectorRight = _settings?.PropertyTransform != null ? _settings.PropertyTransform(selector, _settings) : $"{_settings.IteratorVar}.{selector}";
349349
var selectorLeft = selector.Replace(".", "");
@@ -466,7 +466,7 @@ private string Sort()
466466
return "SORT " + string.Join(", ",
467467
groups.Select(x =>
468468
{
469-
var prop = PropertyName(_settings.ValidPropertyName(x.Selector).FirstCharOfPropertiesToUpper());
469+
var prop = _settings.ValidPropertyName(x.Selector).FirstCharOfPropertiesToUpper();
470470

471471
if (!string.IsNullOrWhiteSpace(x.GroupInterval))
472472
prop = x.GroupInterval.ToUpperInvariant() + prop;

0 commit comments

Comments
 (0)