24 Jul
2015
24 Jul
'15
9:40 p.m.
Greetings, I am beginning my work on bug 11592 the filter version. I was curious if this patch makes sense: diff --git a/Koha/RecordProcessor.pm b/Koha/RecordProcessor.pm index 9bb1fc2..a345156 100644 --- a/Koha/RecordProcessor.pm +++ b/Koha/RecordProcessor.pm @@ -103,7 +103,7 @@ sub new { my $filter_module = $filter =~ m/:/ ? $filter : "Koha::Filter::${schema}::${filter}"; if (can_load( modules => { $filter_module => undef } )) { my $object = $filter_module->new(); - $filter_module->initialize($param); + $object->initialize($param); push @filters, $object; } } Because otherwise, how can I properly set some parameters? GPML, Mark Tompsett