Bug 35044: (QA follow-up): Remove FIXME and redundant code
prove t/db_dependent/Koha/Acquisition/Booksellers.t prove t/db_dependent/Serials.t Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
36ebff2919
commit
a1ed1035ad
1 changed files with 0 additions and 4 deletions
|
@ -642,10 +642,6 @@ sub SearchSubscriptions {
|
|||
$subscription->{cannotdisplay} = not can_show_subscription( $subscription );
|
||||
|
||||
my $subscription_object = Koha::Subscriptions->find($subscription->{subscriptionid});
|
||||
$subscription->{additional_fields} = { map { $_->field->name => $_->value }
|
||||
$subscription_object->additional_field_values->as_list };
|
||||
|
||||
#FIXME: The above $subscription->{additional_fields} may be redundant. Remove if so.
|
||||
$subscription->{additional_field_values} = $subscription_object->get_additional_field_values_for_template;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue