]> git.koha-community.org Git - koha.git/commit
Bug 35033: Add a validation for biblioitems in about/system information
authorBlou <blou@inlibro.com>
Wed, 11 Oct 2023 15:57:28 +0000 (11:57 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Oct 2023 14:02:52 +0000 (11:02 -0300)
commit07ac0b1f72245de6e8ecf2a1a9d2e485ca233f79
tree5a313abae766988b79df0566f4e07b8e3f34ed4d
parente42d5c6e6f5a8d5c958a3dad5583490a550ce862
Bug 35033: Add a validation for biblioitems in about/system information

In the About section, under the System information tab, we get validation between
issues, borrowers, biblio, items, reserves tables, and their deleted/old counterpart.

But there's no validation for biblioitems.

This patch will simply add the same test (and display) as the others, but for biblioitems.

Testing
0) Create a simple biblio entry through cataloguing. Note the biblioitemnumber created.
1) Insert a dummy entry in deletedbiblioitem using the biblioitemnumber.  An simple SQL will do
insert into deletedbiblioitems select * from biblioitems where biblioitemnumber = GIVENbin;
2) Go to about, see there's no warning in systeminformation.
3) apply the patch, validate that an error appears.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt