Skip to content

Commit

Permalink
Update sort param
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivienne Tubbs committed Dec 12, 2023
1 parent 28c5e34 commit 4fe280e
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 4fe280e

Please sign in to comment.