|
Lines 29-35
use Koha::Patron;
Link Here
|
| 29 |
use Koha::Exceptions::Patron; |
29 |
use Koha::Exceptions::Patron; |
| 30 |
use Koha::Patron::Categories; |
30 |
use Koha::Patron::Categories; |
| 31 |
|
31 |
|
| 32 |
use base qw(Koha::Objects); |
32 |
use base qw(Koha::Objects::Mixin::ExtendedAttributes Koha::Objects); |
| 33 |
|
33 |
|
| 34 |
=head1 NAME |
34 |
=head1 NAME |
| 35 |
|
35 |
|
|
Lines 566-571
sub filter_by_have_permission {
Link Here
|
| 566 |
); |
566 |
); |
| 567 |
} |
567 |
} |
| 568 |
|
568 |
|
|
|
569 |
=head3 extended_attributes_config |
| 570 |
|
| 571 |
=cut |
| 572 |
|
| 573 |
sub extended_attributes_config { |
| 574 |
return { |
| 575 |
'id_field' => 'borrowernumber', |
| 576 |
'key_field' => 'code', |
| 577 |
'schema_class' => 'Koha::Schema::Result::BorrowerAttribute', |
| 578 |
}; |
| 579 |
} |
| 580 |
|
| 569 |
=head3 _type |
581 |
=head3 _type |
| 570 |
|
582 |
|
| 571 |
=cut |
583 |
=cut |
| 572 |
- |
|
|