Skip to content

Commit

Permalink
Reverted a change
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshil Goel committed Sep 20, 2023
1 parent bf5afe5 commit dfaf387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql/schema/gqlschema.go
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ func addAggregationResultType(schema *ast.Schema, defn *ast.Definition, provides
}

// Adds titleMax, titleMin fields for a field of name title.
if isOrderable(fld, defn, providesTypeMap) {
if isOrderable(fld, defn, providesTypeMap) || isMultiLangField(fld, false) {
minField := &ast.FieldDefinition{
Name: fld.Name + "Min",
Type: aggregateFieldType,
Expand Down

0 comments on commit dfaf387

Please sign in to comment.