}
foreach my $type ( keys %$attr_filters ) {
if ( $attr_filters->{$type} ) {
my $patron_attribute_type = Koha::Patron::Attribute::Types->find($type);
push @loopfilter, {
crit => "Attribute $type",
crit => sprintf( "Attribute %s (%s)", $patron_attribute_type->description, $type ),
filter => $attr_filters->{$type}
};
-