From 646eea169cd23eac8cb0f048da05fbb79afeeee8 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 19 Sep 2025 17:22:53 +0000 Subject: [PATCH] Bug 40843: Sort patron attributes by description --- tools/modborrowers.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index 2685ca00f16..86b993cfef3 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -176,6 +176,7 @@ if ( $op eq 'cud-show' || $op eq 'show' ) { category_lib => $category_lib, type => $attr_type->authorised_value_category ? 'select' : 'text', }; + @patron_attributes_codes = sort { $a->{attribute_lib} cmp $b->{attribute_lib} } @patron_attributes_codes; } my @attributes_header = (); -- 2.39.5