Bug 24299: Record 'RotatingCollection' as a transfer trigger
commit5013a1bf850d548f2f6492b8ee703308b772d308
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Jan 2020 16:40:10 +0000 (16 16:40 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 20 Mar 2020 15:54:55 +0000 (20 15:54 +0000)
treeb9ebb43ebeefa1f4eb5ed35cdced2668d5abfbad
parent12cae89523ce6237b2ade600bcd86345e5df803b
Bug 24299: Record 'RotatingCollection' as a transfer trigger

This patch adds support for passing a trigger to
C4::Circulation::transferbook and passes 'RotatingCollection' to it when
called inside the rotating collections routine.

Test plan:
1/ Perform a rotating collection transfer operations
2/ Check the database for instances of 'RotatingCollection' in the
branchtransfers.reason field.
3/ Signoff

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
C4/RotatingCollections.pm