[Koha-bugs] [Bug 26351] Add plugin hooks to transform item barcodes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 14 11:19:26 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26351

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA

--- Comment #41 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Hum, there is something wrong here.

Plugin has:
sub item_barcode_transform {
    my ( $self, $barcode ) = @_; 
    $barcode =~ s|0|X|g;
    return $barcode;
}

Checkout "0101"

I get "Barcode not found The barcode was not found: 1"

I am expecting "Barcode not found The barcode was not found: X1X1"

It would be nice to have the example plugin updated.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list