[Koha-bugs] [Bug 34479] Clear saved patron search selections after certain actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 11 16:41:51 CET 2024


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

--- Comment #21 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
In the meantime, if any libraries / customers are struggling with this issue
then the code below can be added to IntranetUserJS. This will wipe the
selection history every time you navigate so it won't persist between patron
searches

$(document).ready(function() {
   var patron_search_selections = [];
  localStorage.setItem('patron_search_selections', JSON.stringify(
patron_search_selections ));
});

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


More information about the Koha-bugs mailing list