Lines 1104-1109
sub _set_found_trigger {
Link Here
|
1104 |
return $self; |
1104 |
return $self; |
1105 |
} |
1105 |
} |
1106 |
|
1106 |
|
|
|
1107 |
=head3 to_api |
1108 |
|
1109 |
Overloaded to_api method to ensure item-level itypes is adhered to. |
1110 |
|
1111 |
=cut |
1112 |
|
1113 |
sub to_api { |
1114 |
my ($self, $params) = @_; |
1115 |
|
1116 |
$self->itype( $self->effective_itemtype ); |
1117 |
$self->notforloan( $self->itemtype->notforloan ) unless $self->notforloan; |
1118 |
return $self->SUPER::to_api($params); |
1119 |
} |
1120 |
|
1107 |
=head3 to_api_mapping |
1121 |
=head3 to_api_mapping |
1108 |
|
1122 |
|
1109 |
This method returns the mapping for representing a Koha::Item object |
1123 |
This method returns the mapping for representing a Koha::Item object |
1110 |
- |
|
|