[Koha-bugs] [Bug 31482] Label creator does not call item_barcode_transform plugin hook

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 11:39:13 CEST 2022


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139946|0                           |1
        is obsolete|                            |

--- Comment #5 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 139997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139997&action=edit
Bug 31482: Label creator does not call item_barcode_transform plugin hook

The label creator can accept a list of either itemnumbers or item barcodes.
In the case that the list of composed of barcodes, those barcodes should be
passed though the item_barcode_transform plugin hook before the lookup is
performed.

Test Plan:
1) Apply this patch
2) Download and install the Barcode Transformer plugin
  
https://github.com/bywatersolutions/koha-plugin-barcode-transformer/releases/
3) Go to the plugin configuration page, set the configuration to the example
configuration from the same page
4) On the "New label batch" page of the Label creator,,
   type in some valid barcodes, but prefix them with X and postfix them with Y,
e.g. X123456Y
5) Submit the form
6) Note the items are added to the label batch!

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


More information about the Koha-bugs mailing list