View | Details | Raw Unified | Return to bug 26573
Collapse All | Expand All

(-)a/Koha/Patron.pm (-3 / +2 lines)
Lines 2142-2152 sub extended_attributes { Link Here
2142
                    Koha::Patron::Attribute::Types->search(
2142
                    Koha::Patron::Attribute::Types->search(
2143
                        {
2143
                        {
2144
                            mandatory => 1,
2144
                            mandatory => 1,
2145
                            category_code => [ undef, $self->categorycode ],
2145
                            'borrower_attribute_types_categories.categorycode' => [ undef, $self->categorycode ],
2146
                            'borrower_attribute_types_branches.b_branchcode' =>
2146
                            'borrower_attribute_types_branches.b_branchcode' =>
2147
                              undef,
2147
                              undef,
2148
                        },
2148
                        },
2149
                        { join => 'borrower_attribute_types_branches' }
2149
                        { join => ['borrower_attribute_types_branches', 'borrower_attribute_types_categories'] }
2150
                    )->get_column('code');
2150
                    )->get_column('code');
2151
                for my $type ( @required_attribute_types ) {
2151
                for my $type ( @required_attribute_types ) {
2152
                    Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw(
2152
                    Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw(
2153
- 

Return to bug 26573