Bugzilla – Attachment 131717 Details for
Bug 30296
Correct path for cookie bibs_selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30296: [20.11.x] Set path for bibs_selected
Bug-30296-2011x-Set-path-for-bibsselected.patch (text/plain), 1.20 KB, created by
Marcel de Rooy
on 2022-03-15 13:32:09 UTC
(
hide
)
Description:
Bug 30296: [20.11.x] Set path for bibs_selected
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-03-15 13:32:09 UTC
Size:
1.20 KB
patch
obsolete
>From dd9a495b0a063f0cd58fef86f099b4302ae8831e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 27 Jan 2022 12:40:45 +0100 >Subject: [PATCH] Bug 30296: [20.11.x] Set path for bibs_selected >Content-Type: text/plain; charset=utf-8 > >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 <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >No longer needed too on 21.11 and 21.05. >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30296
: 131717