From 7ca28005671dcd54c8f69ea587ede6d6f1ec4f40 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 4 Dec 2024 11:24:52 +0100 Subject: [PATCH] Bug 38617: Fix warning about auto increment and biblioitems To reproduce: - Delete a bibliographic, noting the biblionumber (let's call it X) - Run this in the database: UPDATE deletedbiblioitems SET biblionumber = X; - Go to About Koha > System information - Notice the warning compares two tables that are not equivalent: "The following IDs exist in both tables biblio and deletedbiblioitems" To test: - Apply the patch - Reload the System information - The warning should now read: "The following IDs exist in both tables biblioitems and deletedbiblioitems" Signed-off-by: David Nind Signed-off-by: Katrin Fischer (cherry picked from commit 44e15f5b99ea610646b03d0fae3852f19fd7a7db) Signed-off-by: Paul Derscheid --- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 67dc6a4a70..08e81d8098 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -355,7 +355,7 @@ [% END %] [% IF ai_biblioitems %]

Bibliographic records

-

The following IDs exist in both tables [% "biblio" | $HtmlTags tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:

+

The following IDs exist in both tables [% "biblioitems" | $HtmlTags tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:

[% FOR b IN ai_biblioitems %] [% b.biblioitemnumber | html %]