[Koha-bugs] [Bug 29940] Phase out jquery.cookie.js in the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 25 14:10:53 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29940

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 129749
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129749&action=edit
Bug 29940: Phase out jquery.cookie.js in the OPAC

This patch replaces the use of jquery.cookie.js in the OPAC with the
newer js-cookie plugin. The patch adds the latest version of the
js-cookie library and removes the old jquery.cookie plugin.

To test, apply the patch and go to the advanced search page in the OPAC.

- Perform a search using a number of different limits and settings, e.g.
  keyword, item type, and sort-by.
- On the search results page you should see at the top of the results
  list a link to "Return to the last advanced search."
- The link should take you back to the advanced search page with all the
  same settings filled into the form.
- A search with the "More options" view enabled in the advanced search
  form should result in a link which returns to the "More options" view.
- Searching via the "quick search" form at the top of the page should
  clear the cookies which were set in order to remember the advanced
  search. See
  https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector for
  information on viewing your browser's stored cookies.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list