From 03bc99c25d1bd79615aa6120620030e17729660a 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 https://bugs.koha-community.org/show_bug.cgi?id=25044 --- C4/Serials.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index a4628ac16f..c26ba89f51 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.2