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>
Fri, 9 Jun 2023 15:04:52 +0000 (12:04 -0300)
commitc0cf01b8a220c5ecfd102effeec00179226df397
treed223d51bea4f8731fd3744d7ad8ea26305681937
parenta9759b3b0e1b9f4812f994012c109d99f9a9aa89
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