Bug 24503: fix missing use in value builder barcode_manual.pl
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 24 Jan 2020 08:20:06 +0000 (09:20 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 10 Feb 2020 21:56:33 +0000 (21:56 +0000)
commit8d28b02891cff69fbe0b2c6c89d48020d9ce61d4
tree4229690b385ef290de2586a6877e268fbb460be3
parent9a9829d7dd1b2ad6f52528ef810b3dded6298de2
Bug 24503: fix missing use in value builder barcode_manual.pl

Bug 22721 added use C4::Biblio in cataloguing/value_builder/barcode.pl.
This is missing in value builder barcode_manual.pl.
You get the error :
Undefined subroutine &Koha::FrameworkPlugin::GetMarcFromKohaField called at cataloguing/value_builder/barcode_manual.pl line 41.

Test plan :
1) Configure a subfield of item to use value builder barcode_manual.pl
2) Go to a record
3) Try to add a new item
4) Check the value builder is OK

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested with autobarcode==year-0001,0002
No internal server error, but generates a barcode now.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
cataloguing/value_builder/barcode_manual.pl