Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable sorting for SysConfig Search to work correctly #3277

Closed
stefanhaerter opened this issue Apr 3, 2024 · 1 comment
Closed

Enable sorting for SysConfig Search to work correctly #3277

stefanhaerter opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@stefanhaerter
Copy link
Contributor

In Kernel/Modules/AdminSystemConfiguration.pm, subaction AJAXSearch, there is a call to sort, but with no compare function, so the sorting is called on an array of hash refs, which apparently doesn't do anything observable.

SETTING:
for my $Setting ( sort @SettingList ) {

@stefanhaerter
Copy link
Contributor Author

Closed with merging #3282.

Perhaps it makes sense to require block statements on sort, similarly to map and grep. Other occurrences on sort on Hashrefs may be found elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant