]> git.koha-community.org Git - koha.git/commit
Bug 26562: [19.11.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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 27 Oct 2020 04:43:11 +0000 (17:43 +1300)
commit8b4c1d28fbb15732939b9dca70c0c73e46f68479
tree3ede5ddad13b232f75d02320d85fe19978839a80
parent38d3e74bdfc554e644d66511bd202fcfe95ce444
Bug 26562: [19.11.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: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js