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 <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
6e56e4a0d1
commit
8f7535856b
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue