[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:05:20 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122433|0                           |1
        is obsolete|                            |
 Attachment #122434|0                           |1
        is obsolete|                            |
 Attachment #122435|0                           |1
        is obsolete|                            |
 Attachment #122436|0                           |1
        is obsolete|                            |
 Attachment #122437|0                           |1
        is obsolete|                            |
 Attachment #122438|0                           |1
        is obsolete|                            |
 Attachment #122439|0                           |1
        is obsolete|                            |
 Attachment #122440|0                           |1
        is obsolete|                            |
 Attachment #122441|0                           |1
        is obsolete|                            |

--- Comment #89 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 124258
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124258&action=edit
Bug 26351: Add plugin hooks to transform item barcodes

Some of our partners have unusual barcode requirements that have
required us to transform scanned barcodes using javascript. This is not
the most reliable method. It would make more sense to have Koha
transform the barcodes on the backend using a plugin. We should add
hooks to transform and generate new item and patron barcodes.

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) In the item barcode field on the checkin and checkout pages,
   and anywhere else you can scan an item barcode, type in some
   valid barcodes, but prefix them with X and postfix them with
   Y, e.g. X123456Y
5) Note the letters are removed by Koha!

Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
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