|
Lines 56-61
sub filter_by_additional_fields {
Link Here
|
| 56 |
return $class->search(\%conditions, { join => [ ('additional_field_values') x $idx ] }); |
56 |
return $class->search(\%conditions, { join => [ ('additional_field_values') x $idx ] }); |
| 57 |
} |
57 |
} |
| 58 |
|
58 |
|
|
|
59 |
=head3 extended_attributes_config |
| 60 |
|
| 61 |
=cut |
| 62 |
|
| 63 |
sub extended_attributes_config { |
| 64 |
my ($self) = @_; |
| 65 |
return { |
| 66 |
'id_field' => { 'foreign' => 'record_id', 'self' => $self->extended_attributes_record_id_field }, |
| 67 |
'key_field' => 'field_id', |
| 68 |
'schema_class' => 'Koha::Schema::Result::AdditionalFieldValue', |
| 69 |
}; |
| 70 |
} |
| 71 |
|
| 59 |
=head1 AUTHOR |
72 |
=head1 AUTHOR |
| 60 |
|
73 |
|
| 61 |
Koha Development Team <http://koha-community.org/> |
74 |
Koha Development Team <http://koha-community.org/> |