]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1361258 Patron reg repair user settings saving/loading
authorBill Erickson <berickxx@gmail.com>
Mon, 19 Mar 2018 19:22:44 +0000 (15:22 -0400)
committerKathy Lussier <klussier@masslnc.org>
Thu, 22 Mar 2018 16:41:29 +0000 (12:41 -0400)
commit1f5c30502a1c7923a8978d0f4e3d28618c5c07d4
tree3aa7c06a46eb8385741f46475f3e0f8e76fc799d
parent667bc1a5a3433b4cd936cd9d362668d23e6ad3b3
LP#1361258 Patron reg repair user settings saving/loading

Avoid caching user setting values at the service (app) level in the user
editor.  In other words, always fetch a fresh copy of the current user's
setting with each instance of the editor page.

This solves a number problems where stale versions of the cached data
were referenced and acted on, both when displaying an updating user
settings.

Additionally, ensure that clone user and stage user data is refreshed
on all page instances as the URL params that affect these values can
change per instance.

Other data that is common to all instances (e.g. the set of profile
groups) is still cached as before.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js