Bug 20876: The form_serialized_itype cookie is not used and should be removed
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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 3b9a81e394)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
d62c83a241
commit
ffd7365d86
|
|
@ -246,7 +246,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: '/'});
|
||||
|
|
|
|||
|
|
@ -420,7 +420,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: '/'});
|
||||
|
|
|
|||
Loading…
Reference in New Issue