LP#1740537 Transit dialog showing wrong branch user/berick/lp1740537-transit-slip-mismatch
authorBill Erickson <berickxx@gmail.com>
Mon, 30 Apr 2018 18:27:41 +0000 (14:27 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 30 Apr 2018 18:27:52 +0000 (14:27 -0400)
commitb4c580d115e31716416920570b073dadf37aefae
tree61a56caf68ab26eca1dfbc01e18c30306e535f6d
parentc0950952f1a8f572a20194b579a5cdd5c96e965b
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