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:
Pedro Amorim 2024-07-24 18:31:07 +00:00 committed by Katrin Fischer
parent 36ebff2919
commit a1ed1035ad
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -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;
}