Bugzilla – Attachment 148752 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.24 KB, created by
Nick Clemens (kidclamp)
on 2023-03-27 11:08:35 UTC
(
hide
)
Description:
Bug 29234: Transit on checking
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-27 11:08:35 UTC
Size:
1.24 KB
patch
obsolete
>From bb8360d7650c8db12f954d126253bb8f573003ca 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> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Circulation.pm | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index e190019ae1..89c9239fbd 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2293,8 +2293,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.30.2
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