]> git.koha-community.org Git - koha.git/commit
Bug 26562: [19.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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 27 Oct 2020 20:39:34 +0000 (21:39 +0100)
commitefd60540503cd0d71cae3e6de3160cbc32362b6c
tree80ae6debbbd48d3f1b285788eff7887a0746bb7b
parent2db042f2ffe4f6e38dcfdbf04caa9c3b75594605
Bug 26562: [19.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: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
koha-tmpl/intranet-tmpl/prog/js/staff-global.js