LP#1770478: Offline org unit tree can break user/jeffdavis/lp-1770478-offline-org-tree-signoff
authorMike Rylander <mrylander@gmail.com>
Tue, 15 May 2018 21:21:00 +0000 (17:21 -0400)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 17 May 2018 00:20:50 +0000 (17:20 -0700)
commitcefdc1d5dcfb8148eaacb729ffaa4b6c328abf12
tree452655707b5a68bd9394871ed47044bb7e270588
parent5f1c1b0d29870f9f3f66313f699631e0aa37ca19
LP#1770478: Offline org unit tree can break

A thinko in the org tree reconstruction for offline mode caused the tree to be
broken in some situations, when the orgs were not ordered strictly by ID in
the list stored in the browser's IndexedDB storage.  This commit removes that
requirement, and allows trees of any ID and storage ordering to be
reconstituted.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/web/js/ui/default/staff/services/lovefield.js