Bugzilla – Attachment 75815 Details for
Bug 20876
The form_serialized_itype cookie is not used and should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20876: The form_serialized_itype cookie is not used and should be removed
Bug-20876-The-formserializeditype-cookie-is-not-us.patch (text/plain), 2.54 KB, created by
Marcel de Rooy
on 2018-06-05 11:53:10 UTC
(
hide
)
Description:
Bug 20876: The form_serialized_itype cookie is not used and should be removed
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-06-05 11:53:10 UTC
Size:
2.54 KB
patch
obsolete
>From a643fb2de55e09ac438b8ddfb0e067d74d28e294 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 4 Jun 2018 14:40:03 +0000 >Subject: [PATCH] Bug 20876: The form_serialized_itype cookie is not used and > should be removed >Content-Type: text/plain; charset=utf-8 > >This patch removes references to a form_serialized_itype cookie which >appears in the code as part of the process of storing information used >in the generation of the "Return to the last advanced search" link. > >To test, apply the patch and perform an advanced search in the OPAC >using several search options including a limit by item type. From the >search results page, follow the "Return to the last advanced search" >link. The advanced search form should appear with all the search options >you submitted before. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 1 - > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 1 - > 2 files changed, 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 1d91ef7..d4e57df 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -253,7 +253,6 @@ $(document).ready(function() { > if($('#searchsubmit').length) { > $(document).on("click", '#searchsubmit', function(e) { > jQuery.removeCookie("form_serialized", { path: '/'}); >- jQuery.removeCookie("form_serialized_itype", { path: '/'}); > jQuery.removeCookie("form_serialized_limits", { path: '/'}); > jQuery.removeCookie("num_paragraph", { path: '/'}); > jQuery.removeCookie("search_path_code", { path: '/'}); >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index 1b7fb90..593a8654 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -421,7 +421,6 @@ $(document).ready(function() { > [% ELSE %] > //Clear all form cookies > jQuery.removeCookie("form_serialized", { path: '/'}); >- jQuery.removeCookie("form_serialized_itype", { path: '/'}); > jQuery.removeCookie("form_serialized_limits", { path: '/'}); > jQuery.removeCookie("num_paragraph", { path: '/'}); > jQuery.removeCookie("search_path_code", { path: '/'}); >-- >2.1.4
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 20876
:
75776
|
75789
| 75815