Bugzilla – Attachment 126269 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.12 KB, created by
Martin Renvoize (ashimema)
on 2021-10-14 11:07:49 UTC
(
hide
)
Description:
Bug 29234: Transit on checking
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-10-14 11:07:49 UTC
Size:
1.12 KB
patch
obsolete
>From 0caa305e22df58f7063a41d8b240867c47a7f688 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 > >--- > 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