From ca70187709c446615d30d7c97a8eed12aad8c335 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 7 Dec 2022 15:59:21 +0100 Subject: [PATCH] Bug 26573: Remove remaining reference to category_code column --- Koha/Patron.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 1a4a920580..9f01ed6b16 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -2142,11 +2142,11 @@ sub extended_attributes { Koha::Patron::Attribute::Types->search( { mandatory => 1, - category_code => [ undef, $self->categorycode ], + 'borrower_attribute_types_categories.categorycode' => [ undef, $self->categorycode ], 'borrower_attribute_types_branches.b_branchcode' => undef, }, - { join => 'borrower_attribute_types_branches' } + { join => ['borrower_attribute_types_branches', 'borrower_attribute_types_categories'] } )->get_column('code'); for my $type ( @required_attribute_types ) { Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw( -- 2.34.1