]> git.koha-community.org Git - koha.git/commit
Bug 18821: TrackLastPatronActivity is a performance killer
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 May 2018 17:29:12 +0000 (17:29 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Jun 2018 06:36:12 +0000 (08:36 +0200)
commit68d84e0d5441e5eb1ca17b3eb1515424ed2dd04d
tree73f907e69a742589be993e4eb9c86539823bc2f3
parent259ab22b18f67fa58eeb56713a34109908133a9c
Bug 18821: TrackLastPatronActivity is a performance killer

Test Plan:
1) Apply this patch
2) Start a new session ( a private browser window works well )
3) Note the lastseen column in the borrowers table is updated
4) Browse a few pages, not the lastseen column is not updated again
5) Close the browser window and repeat steps 2-4
6) prove t/db_dependent/Auth.t

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0aa5eec2332f0e0ae7f6adefebc274b02f8830c5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm
t/db_dependent/Auth.t