Bug 21983: Make DelBiblio update linked ILL requests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 5 Jun 2023 16:54:40 +0000 (13:54 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Jun 2023 18:40:13 +0000 (15:40 -0300)
commitd23593725956c64d94c5ff4f647669d406b99bc4
treedd68fb9efefaef69a2c2d8d3743b10eb3e396155
parentf1cd3a44b083a8921ebae0f465eadca02cdb3014
Bug 21983: Make DelBiblio update linked ILL requests

This patch makes DelBiblio update the biblio linked ILL requests so the
value in biblio_id is moved to the deleted_biblio_id.

The change is covered by tests.

To test:
1. Apply this patchset
2. Run:
   $ ktd --shell
  k$ updatedatabase
  k$ qa --run-tests
=> SUCCESS: Tests pass! All green/good
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Biblio.pm
t/db_dependent/Biblio.t