From 9643895b260d803f73da99bd0042a6b023d2acf4 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 28 Jan 2025 23:30:32 +0000 Subject: [PATCH] Bug 37883: Remove show_local_items from localStorage on logout --- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js index 864239293e2..3f12fbafc45 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js @@ -474,6 +474,7 @@ function logOut() { localStorage.removeItem("patron_search_selections"); localStorage.removeItem("item_search_selections"); localStorage.removeItem("copiedPermissions"); + localStorage.removeItem("show_local_items"); // Remove DataTables states Object.keys(localStorage).forEach(k => { -- 2.39.5