]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1770478: Offline org unit tree can break
authorMike Rylander <mrylander@gmail.com>
Tue, 15 May 2018 21:21:00 +0000 (17:21 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 23 May 2018 19:16:06 +0000 (15:16 -0400)
commit2545bc37ac0e6ee1cc3bbf4e7632de6400ad29c8
tree89e72ef18da8e0ed41a3ea0ac011ce06aed72b10
parent02d3d6c7c2bb797102feefe0ac4b2c781ea43210
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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/web/js/ui/default/staff/services/lovefield.js