Koha-clms/C4/SIP/ILS
Nick Clemens 9b3abaf877 Bug 27166: [20.05.x] Set destination_loc to item->homebranch
In bug 21020 we used the issue to fetch the item and then the homebranch.
This fails when the item is not issued. We fetch the item already, so we
can use it directly

In 20.05.x we don't have the item object, so we can just use the SIP transaction item

To test:
1 - Have an item belonging to branch A
2 - Check it in via sip at branch B:
    perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 --item CHESS1 -l FPL -m checkin
3 - The read command is blank and there is a warn about uninitialized data
4 - Apply patch
5 - Restart sip server
6 - Check the item in at branch A using the sip cli emulator
7 - Check it in at branch B
8 - This time the checkin should succeed and the output msg should be included

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit d58beb621e)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-12-24 15:29:50 +01:00
..
Transaction Bug 27166: [20.05.x] Set destination_loc to item->homebranch 2020-12-24 15:29:50 +01:00
Item.pm Bug 25805: Return empty strings instead of undef in C4::SIP::ILS::Item::hold_patron_name 2020-07-16 16:04:21 +12:00
Item.pod bug 3435: SIP Checkin extension for 3M SmartChute - partial 2009-07-30 11:06:47 -04:00
Patron.pm Bug 23403: List borrowernumber in the ILS::Patron fields 2020-05-21 20:38:45 +00:00
Patron.pod Bug 14383: C4: Fix some typos (mostly in comments and documentation) 2015-06-22 17:34:45 -03:00
Transaction.pm Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls 2017-07-10 12:06:37 -03:00