]> git.koha-community.org Git - koha.git/commit
Bug 26407: fix query in 'title exists' in `search_for_data_inconsistencies.pl`
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Sep 2020 14:54:19 +0000 (16:54 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 15 Oct 2020 21:34:55 +0000 (21:34 +0000)
commit6b6650ff90893b42e837d809ac1a5ea34c52079d
treef3f7e2612dc032ad63c5e76e6f04eefd83d65d52
parent935e7f088f09458b2cb67d289dd234f686688a19
Bug 26407: fix query in 'title exists' in `search_for_data_inconsistencies.pl`

Bug 23871 added check for 'title exists' to `search_for_data_inconsistencies.pl`.
There is a typo in DBIx query to create or : hashref instead of arrayref.

Test plan :
1) Change title of biblio record XXX in SQL :
   UPDATE biblio SET title = '' WHERE biblionumber=XXX
2) Change title of biblio record YYY in SQL :
   UPDATE biblio SET title = NULL WHERE biblionumber=YYY
3) Run misc/maintenance/search_for_data_inconsistencies.pl
4) Check you see both records

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 15174e7bd3f03555ff0120385443157f3da39fe2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/maintenance/search_for_data_inconsistencies.pl