]> git.koha-community.org Git - koha.git/commit
Bug 10952: (follow-up) clear seach history from session after saving it to DB
authorGalen Charlton <gmc@esilibrary.com>
Fri, 10 Jan 2014 16:49:01 +0000 (16:49 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 18 Feb 2014 09:15:36 +0000 (10:15 +0100)
commit9c779efdcd7c440bebb727024073b6a02ea3197e
tree9383172ce56dea76e6de4aad98326d1f93dc776a
parenta3157af700b3b46bdfd566fc87d54e7b917d1e49
Bug 10952: (follow-up) clear seach history from session after saving it to DB

This patch makes sure that the search history from an
anonymous session is cleared from the session after a user
logs in (and the session history is saved to that user's
record in the database).  This fixes a problem where the
search history from the session got repeatedly added to the
database each time the user did something while logged
into the OPAC.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 914515202df0612c1cdb64bf408120a1364316a0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm