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 1c9cca3 commit 3a4f5ba
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 @@
# 6.5.4 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 Popup profile positioning. Thanks to Paweł Bogusławski (@pboguslawski). [#432](https://github.com/znuny/Znuny/pull/432)
- 2023-07-31 Fixed Draft Issue - Using the draft fails if there are any dynamic fields configured as mandatory for the screen where the draft is used.
- 2023-07-27 Fixed remove of mention and unnecessary errors in the log. Thanks to Tim Püttmanns (@tipue-dev), maxence. [PR#295](https://github.com/znuny/Znuny/pull/295)
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 3a4f5ba

Please sign in to comment.