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

(-)a/Koha/Patron.pm (-3 / +2 lines)
Lines 1742-1752 sub extended_attributes { Link Here
1742
                    Koha::Patron::Attribute::Types->search(
1742
                    Koha::Patron::Attribute::Types->search(
1743
                        {
1743
                        {
1744
                            mandatory => 1,
1744
                            mandatory => 1,
1745
                            category_code => [ undef, $self->categorycode ],
1745
                            'borrower_attribute_types_categories.categorycode' => [ undef, $self->categorycode ],
1746
                            'borrower_attribute_types_branches.b_branchcode' =>
1746
                            'borrower_attribute_types_branches.b_branchcode' =>
1747
                              undef,
1747
                              undef,
1748
                        },
1748
                        },
1749
                        { join => 'borrower_attribute_types_branches' }
1749
                        { join => ['borrower_attribute_types_branches', 'borrower_attribute_types_categories'] }
1750
                    )->get_column('code');
1750
                    )->get_column('code');
1751
                for my $type ( @required_attribute_types ) {
1751
                for my $type ( @required_attribute_types ) {
1752
                    Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw(
1752
                    Koha::Exceptions::Patron::MissingMandatoryExtendedAttribute->throw(
1753
- 

Return to bug 26573