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

--- Comment #1 from Julian Maurice <julian.maur...@biblibre.com> ---
Created attachment 182724
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182724&action=edit
Bug 39967: Reload session after modification

Otherwise the existing $session still holds outdated data that is
written on the next flush, which overwrites what has been set by
C4::Search::History::set_to_session

Test plan:
1. Enable LoadSearchHistoryToTheFirstLoggedUser and EnableOpacSearchHistory
2. Go to OPAC. If logged in, log out.
3. Go to search history and remove all searches if any.
4. Perform a search, make sure it appears in your search history
5. Log in and go to your search history. See that your unauthenticated
   search history has been added to your account's search history
6. Reload the page multiple times. See that the unauthenticated search
   history is *NOT* re-added after each page reload

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to