Bugzilla – Attachment 126300 Details for
Bug 29234
Transfers generated by stock rotation alert but do not initiate at checkin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29234: Transit on checking
Bug-29234-Transit-on-checking.patch (text/plain), 1.18 KB, created by
Kyle M Hall (khall)
on 2021-10-14 16:34:31 UTC
(
hide
)
Description:
Bug 29234: Transit on checking
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-10-14 16:34:31 UTC
Size:
1.18 KB
patch
obsolete
>From a05fadaed4f21fd97aa6e6c88beec313cf2c170b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 14 Oct 2021 12:05:08 +0100 >Subject: [PATCH] Bug 29234: Transit on checking > >Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com> >--- > C4/Circulation.pm | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 5342668ba3..b54e0a1185 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2183,8 +2183,15 @@ sub AddReturn { > $validTransfer = 1 if $transfer->reason eq 'Reserve'; > } > else { >- $messages->{'WasTransfered'} = $transfer->tobranch; > $messages->{'TransferTrigger'} = $transfer->reason; >+ if ( $transfer->frombranch eq $branch ) { >+ $transfer->transit; >+ $messages->{'WasTransfered'} = $transfer->tobranch; >+ } >+ else { >+ $messages->{'WrongTransfer'} = $transfer->tobranch; >+ $messages->{'WrongTransferItem'} = $item->itemnumber; >+ } > } > } > } >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29234
:
126267
|
126269
|
126300
|
126481
|
148751
|
148752
|
149046
|
149093
|
149094
|
149095
|
149096