Skip to content

Commit

Permalink
Fixed Bug - Snippets not sorted by name in search results. [#473](#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Aug 3, 2023
1 parent bf5a512 commit eca3920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 7.0.10 2023-??-??
- 2023-08-03 Fixed Bug - Snippets not sorted by name in search results. [#473](https://github.com/znuny/Znuny/issues/473)
- 2023-08-02 Fixed Mentions CSS bug. https://github.com/znuny/Znuny/issues/419.
- 2023-08-02 Fixed Popup profile positioning. Thanks to Paweł Bogusławski (@pboguslawski). [#433](https://github.com/znuny/Znuny/pull/433)
- 2023-08-02 Fixed some minor spelling mistakes. Thanks to Tim Püttmanns (@tipue-dev), maxence. [PR#377](https://github.com/znuny/Znuny/pull/377)
Expand Down
4 changes: 3 additions & 1 deletion Kernel/System/Autocompletion/Template.pm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ sub GetData {
# Build autocompletion information for templates.
my @Data;
STANDARDTEMPLATEID:
for my $StandardTemplateID ( sort keys %StandardTemplates ) {
for my $StandardTemplateID ( sort { lc $StandardTemplates{$a} cmp lc $StandardTemplates{$b} || $a cmp $b }
keys %StandardTemplates )
{
my %StandardTemplate = $StandardTemplateObject->StandardTemplateGet(
ID => $StandardTemplateID,
);
Expand Down

0 comments on commit eca3920

Please sign in to comment.