]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 8 Nov 2023 08:29:10 +0000 (22:29 -1000)
commit4579a814bc9b24dfe10f392bad6dd201ef465435
treefeefc635b035e62f9daccee959f0d00e3ccb4419
parent26d592d699850fcff73e1bfc0aac787aefdc7bce
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>
(cherry picked from commit 07ac0b1f72245de6e8ecf2a1a9d2e485ca233f79)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt