Bug 24446: Prioritize RotatingCollection transfer over StockRotationAdvance
This patch prioritizes the RotatingCollection transfer type over the StockRotationAdvance transfers allowing us to queue up a our transfer behind it. Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
2ac337b4e7
commit
e1ef7571c0
1 changed files with 2 additions and 1 deletions
|
@ -245,7 +245,8 @@ sub advance {
|
|||
my $exception = $_;
|
||||
my $found_transfer = $_->transfer;
|
||||
if ( $found_transfer->in_transit
|
||||
|| $found_transfer->reason eq 'Reserve' )
|
||||
|| $found_transfer->reason eq 'Reserve'
|
||||
|| $found_transfer->reason eq 'RotatingCollection' )
|
||||
{
|
||||
return $item->request_transfer(
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue