Bug 30677: Use lookahead in regex for biblioitem replacement
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 May 2022 15:47:59 +0000 (16:47 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 28 Jun 2022 12:35:45 +0000 (09:35 -0300)
commitbe3bd8af8b1f2dbff33d2228eb64fa77fe9362f7
treef340eb23888cb0c766f6ad3841b5d8fbd2ce2577
parentde4fcc91f02e7d8da645388c7287ed942fa4bae8
Bug 30677: Use lookahead in regex for biblioitem replacement

This patch takes Andrew's suggested fix using a lookahead regex to
correct our biblio vs biblioitem table name replacements.

Please use the preceeding unit test patch proposed by Jonathan to test.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Acquisitions/Orders.pm