]> git.koha-community.org Git - koha.git/commit
Bug 19599: Speed anonymise_issue_history up
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Nov 2017 13:34:08 +0000 (10:34 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 16 Jan 2018 13:25:32 +0000 (14:25 +0100)
commitc25b953204e598f1fb1bf5ea965fe45bff014854
tree6b649dce9608ca2897c0be83f4a070fc58983869
parent6bd9fbbcac803036fd731c1e9e9504e0a52472ca
Bug 19599: Speed anonymise_issue_history up

The query generated by anonymise_issue_history is unecessary complex and
can be very slow on large DB.
With this patch we will execute one query per patron instead.

See patch "Bug 19599: Simplify the query" on the bug report for an
alternative.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5be4704347610d269e7d3401f50af46b3202869a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patrons.pm