From 549e0b3068c5ac1234b8694f4170e70b002bb5bb Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Tue, 4 Aug 2026 13:25:50 +0000 Subject: [PATCH] Bug 42553: (QA Follow-up) tidy preferences.pl Signed-off-by: Andrew Fuerste Henry Signed-off-by: Pedro Amorim --- admin/preferences.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/admin/preferences.pl b/admin/preferences.pl index 31550f4f90..b60b5b7e50 100755 --- a/admin/preferences.pl +++ b/admin/preferences.pl @@ -204,10 +204,8 @@ sub _get_chunk { } elsif ( $options{'multiple_sortable'} ) { if ( ref( $options{'multiple_sortable'} ) eq '' ) { if ( $options{'multiple_sortable'} eq 'authval' && $options{'source'} ) { - $options{'multiple_sortable'} = { - map { $_->authorised_value => $_->lib } - Koha::AuthorisedValues->search( { category => $options{'source'} } )->as_list - }; + $options{'multiple_sortable'} = { map { $_->authorised_value => $_->lib } + Koha::AuthorisedValues->search( { category => $options{'source'} } )->as_list }; } else { die 'Unrecognized source for multiple_sortable: ' . $options{'multiple_sortable'}; }