Bug 26562: 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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
88c40e5097
commit
0b7bd6ee28
|
|
@ -180,6 +180,7 @@ function logOut(){
|
|||
clearHoldFor();
|
||||
removeLastBorrower();
|
||||
localStorage.removeItem("sql_reports_activetab");
|
||||
localStorage.removeItem("searches");
|
||||
}
|
||||
|
||||
function openHelp(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue