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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 12 Jun 2023 11:14:13 +0000 (11:14 +0000)
commitded48594355da81d757cd27f72af0fa26123be12
tree22c9bc77402e292f7607ee6220dc40f690b0e966
parent862b84555ae2d7189a5f85f04aafd73fc45cb48f
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>
(cherry picked from commit c0cf01b8a220c5ecfd102effeec00179226df397)
C4/Biblio.pm
t/db_dependent/Biblio.t