LP#1740537 Transit dialog showing wrong branch
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Apr 2018 18:27:41 +0000 (14:27 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 14 May 2018 12:04:41 +0000 (08:04 -0400)
commitda2faf56c2049ad55c0dd77b937a90ccc7f1d068
tree710e95e641245ba313eae1de19b750bacde5d9ed
parent08fcc1e7e27c4c9328c761ecee6c607e788c8ae9
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.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js