[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
Tue Aug 31 09:06:02 CEST 2021


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

--- Comment #97 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 124266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124266&action=edit
Bug 26351: Use call_recursive() as a replacement for call()

The method `call()` is not sufficient for barcode transformations. It's
possible that more than one barcode transformation plugin will be
installed. The `call_recursive()` method takes the output of the first
plugin and uses it as the input for the next plugin and so on. This allowes
each plugin to see the current version of the barcode and modify it if
necessary.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list