From 8f7535856b399b662fa73dbde91f42e3962fe905 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 6 Mar 2024 09:55:18 +0000 Subject: [PATCH] Bug 36241: Fix wrong cud-search This line is supposed to searhc for plugins with the method 'provides_api' which returns a {type => 'search'} entry among others. This has nothing to do with search vs cud-search from in forms Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- ill/ill-requests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index d9278b6db8..1179c85425 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -531,7 +531,7 @@ sub get_metadata_enrichment { my @services = (); foreach my $plugin(@candidates) { my $supported = $plugin->provides_api(); - if ($supported->{type} eq 'cud-search') { + if ($supported->{type} eq 'search') { push @services, $supported; } } -- 2.39.5