Skip to content

Commit

Permalink
Merge pull request #1428 from aria5305/pulls/1.13/update-sort-param
Browse files Browse the repository at this point in the history
Update sort param for SortChildren
  • Loading branch information
GuySartorelli authored Dec 14, 2023
2 parents 28c5e34 + 4fe280e commit 9ae092c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/GraphQL/Resolvers/FolderTypeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static function sortChildren(array $context): Closure
$field,
File::class
);
$dataQuery->sort($field, $dir, false);
$dataQuery->sort($normalised, $dir, false);
}

// respect default_sort
Expand Down

0 comments on commit 9ae092c

Please sign in to comment.