]> 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>
Tue, 26 Jun 2018 07:45:54 +0000 (09:45 +0200)
commit58a9df3808f85d4a53a002a2619cee07571966c2
tree27a5894e66a944fc941712ee5c9a7a24612fb31e
parent628f77746e8d471ec288574c1437dc5e56b0b657
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>
(cherry picked from commit 68d84e0d5441e5eb1ca17b3eb1515424ed2dd04d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm
t/db_dependent/Auth.t