From fe5977064cde5bbd3a4f638f7a3c35b048b471f9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 27 Jan 2022 12:40:45 +0100 Subject: [PATCH] Bug 29957: Set path for bibs_selected Or it does not get cleared. Not that we may want to skip it for master as bug 29932 is going to replace it with sessionStorage Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js index c62a037e52..4f0eb8a15f 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js @@ -320,7 +320,7 @@ function delBibToContext( bibnum ) { } function setContextBiblioNumbers( bibnums ) { - $.cookie('bibs_selected', JSON.stringify( bibnums )); + $.cookie('bibs_selected', JSON.stringify( bibnums ), { path: '/' }); } function getContextBiblioNumbers() { -- 2.20.1