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

(-)a/Koha/AdditionalField.pm (-2 / +1 lines)
Lines 62-68 sub to_api { Link Here
62
62
63
    my $json = $self->SUPER::to_api($params);
63
    my $json = $self->SUPER::to_api($params);
64
64
65
    $json->{resource_type} = $table_to_resource->{ $self->tablename };
65
    $json->{resource_type} = $table_to_resource->{ $self->tablename } || $self->tablename;
66
66
67
    return $json;
67
    return $json;
68
}
68
}
69
- 

Return to bug 37261