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)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 10 Jan 2014 16:49:01 +0000 (16:49 +0000)
commit914515202df0612c1cdb64bf408120a1364316a0
treeade96541a3bd32f88efffe5fad06521be05471aa
parent939d68ea7b0fb7c0649531b324ad4938a5360c0e
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>
C4/Auth.pm