Skip to content

Commit

Permalink
[#79] Alphabetic sorting of parts kit nav.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed Apr 15, 2024
1 parent e8d9d96 commit ea48739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/PartsKit.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public static function getNav(): array
continue;
}

$parentNode->children[] = $node;
array_unshift($parentNode->children, $node);
unset($result[$node->path]);
}

Expand Down

0 comments on commit ea48739

Please sign in to comment.