Bug 18931: Add a "data corrupted" section on the about page - MySQL AI
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Jul 2017 18:52:19 +0000 (15:52 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 27 Jul 2017 08:25:03 +0000 (10:25 +0200)
commit197dd2d4c7473b81fe18ff32bb0fdde0f13a94a0
tree10c9dae4ab3c4efbf1f34b49ed467ec0c46646a6
parent739a0f4b9b6bfba236d297608001180f4cb38af3
Bug 18931: Add a "data corrupted" section on the about page - MySQL AI

See the following wiki page for more information
https://wiki.koha-community.org/wiki/DBMS_auto_increment_fix

Test plan:
Create (at least) a patron, a checkout, a biblio and a hold
Then fill the old_* or deleted* tables with:
 INSERT INTO deletedborrowers SELECT * from borrowers WHERE  borrowernumber=XXX;
 INSERT INTO deletedbiblio SELECT * from biblio WHERE biblionumber=XXX;
 INSERT INTO old_issues SELECT * from issues WHERE issue_id=XXX;
 INSERT INTO old_reserves SELECT * from reserves WHERE reserve_id=XXX;

Go to the about page, 'System information' tab. You should see a new
"Data problems" section with the list of the ids that are wrong

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1d1d6ddc9d1e4929d9eb232e0745bcf31749cfdb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt