View | Details | Raw Unified | Return to bug 26351
Collapse All | Expand All

(-)a/C4/Circulation.pm (-1 / +1 lines)
Lines 176-182 sub barcodedecode { Link Here
176
    my ($barcode, $filter) = @_;
176
    my ($barcode, $filter) = @_;
177
    my $branch = C4::Context::mybranch();
177
    my $branch = C4::Context::mybranch();
178
    $filter = C4::Context->preference('itemBarcodeInputFilter') unless $filter;
178
    $filter = C4::Context->preference('itemBarcodeInputFilter') unless $filter;
179
    ($barcode) = Koha::Plugins->call('item_barcode_transform',  $barcode ) || $barcode;
179
    ($barcode) = Koha::Plugins->call_recursive('item_barcode_transform',  $barcode );
180
    $filter or return $barcode;     # ensure filter is defined, else return untouched barcode
180
    $filter or return $barcode;     # ensure filter is defined, else return untouched barcode
181
	if ($filter eq 'whitespace') {
181
	if ($filter eq 'whitespace') {
182
		$barcode =~ s/\s//g;
182
		$barcode =~ s/\s//g;
(-)a/t/db_dependent/Koha/Plugins/Plugins.t (-2 / +1 lines)
Lines 126-132 subtest 'GetPlugins() tests' => sub { Link Here
126
126
127
    @plugins = $plugins->GetPlugins({ metadata => { my_example_tag  => 'find_me' }, all => 1 });
127
    @plugins = $plugins->GetPlugins({ metadata => { my_example_tag  => 'find_me' }, all => 1 });
128
    @names = map { $_->get_metadata()->{'name'} } @plugins;
128
    @names = map { $_->get_metadata()->{'name'} } @plugins;
129
    is( scalar @names, 2, "Only two plugins found via a metadata tag" );
129
    is( scalar @names, 4, "Only four plugins found via a metadata tag" );
130
130
131
    $schema->storage->txn_rollback;
131
    $schema->storage->txn_rollback;
132
};
132
};
133
- 

Return to bug 26351