Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #5383

Category None
Changed by Bill Erickson <berickxxohnoyoudont@gmail.com>
Changed at Thu 10 May 2018 16:01:02
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 0b3b42b1473b610191827b7a9d6a86cd4298397b


LP#1740537 Transit dialog showing wrong branch
Always retrieve the latest copy transit from the server when displaying
the copy transit dialog.  This resolves an issue where a just-closed
transit is used instead.

Add a filter to avoid canceled transits.

Make the transit lookup call authoritative, since the transit may have
just been created.

To test (test plan courtesy of John Amundson):

1. Sign in as Library A.
2. Check in an item owned by Library B that does not have any holds
   associated with it. This will send the item in transit to its home,
   Library B.
3. Place a hold on the item to be picked up at Library C.
4. Sign in as Library B.
5. Check in the item. The transit pop-up and printout will show that
   the item needs to be transited to Library B instead of Library C.
6. Apply the patch and repeat steps 1-5 using a different item. This
   time, the transit pop-up will show that the item needs
   to be transited to Library C.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Changed files