[Koha-bugs] [Bug 8010] Search history can be added to the wrong patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 13 16:30:35 CET 2017


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

--- Comment #6 from Baptiste <baptiste.wojtkowski at biblibre.com> ---
Created attachment 60158
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60158&action=edit
Added a new syspref to Load history to the next user

Added a syspref LoadHistory addSearchHistoryToTheFirstLoggedUser to select if
you want the system to add the history of searches performed without session
when you log in as registered user.
TEST PLAN
1 - Search in the catalogue, check you are not logged
2 - Log in : your last history should appear
4 - Log out
5 - Apply the patch
6 - Repeat 1 and 2
7 - Desactivate the syspref addSearchHistoryToTheFirstLoggedUser
8 - Repeat 1 and 2 : your last history shouldn't appear

The Unit test doesn't rollback but delete the added lines : the function
get_template_and_user allway sets the autocommit to 1.

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


More information about the Koha-bugs mailing list