From a1ed1035ade920c288b253e02ad2d59bba6ac9e2 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 24 Jul 2024 18:31:07 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer --- C4/Serials.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 0c60da5e3f..c8097ab6d4 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -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; } -- 2.39.5