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 <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 44e15f5b99)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
bc595b1cf4
commit
7ca2800567
|
|
@ -355,7 +355,7 @@
|
|||
[% END %]
|
||||
[% IF ai_biblioitems %]
|
||||
<h4>Bibliographic records</h4>
|
||||
<p>The following IDs exist in both tables [% "biblio" | $HtmlTags tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:</p>
|
||||
<p>The following IDs exist in both tables [% "biblioitems" | $HtmlTags tag="strong" %] and [% "deletedbiblioitems" | $HtmlTags tag="strong" %]:</p>
|
||||
<p>
|
||||
[% FOR b IN ai_biblioitems %]
|
||||
[% b.biblioitemnumber | html %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue