]> git.koha-community.org Git - koha.git/commit
Bug 26562: [20.05.x] Removes 'searches' from localStorage on logout
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Sep 2020 09:43:00 +0000 (11:43 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 27 Oct 2020 22:39:05 +0000 (22:39 +0000)
commitf7f4d33fd35d14aede9c55e5d4611c8ff3c2412c
treeebb80367bdb18c1d564ff80b6e1968d3275731a5
parentf67bd64dee422f380824a5520e7a383e3888da97
Bug 26562: [20.05.x] Removes 'searches' from localStorage on logout

A user recently logged in will inherit the "searches" item stored in localStorage.

To recreate:
Log in with user A, do some searches
Note that the "searches" item is filled in with the search queries
Logout and log in with user B
Note that the "searches" item is still there

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 402bf0240325a9a194dd6c62f7b4e478e1505b15)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js