From 2deb1b44a64b6f33766a8a8a6385066c9ccd1300 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 9 May 2025 02:34:19 +0000 Subject: [PATCH] Bug 38330: (QA follow-up) Fix WHERE clause in SQL update and re-word warning Signed-off-by: David Cook --- installer/data/mysql/atomicupdate/bug_38330.pl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_38330.pl b/installer/data/mysql/atomicupdate/bug_38330.pl index b751fb453e..b004c92312 100755 --- a/installer/data/mysql/atomicupdate/bug_38330.pl +++ b/installer/data/mysql/atomicupdate/bug_38330.pl @@ -27,7 +27,7 @@ return { WHEN LOWER(TRIM(ExtractValue(m.metadata, '//datafield[@tag="942"]/subfield[@code="n"]'))) IN ('0', 'no', 'false', '') THEN 0 ELSE 0 END - WHERE m.metadata LIKE '%%'; + WHERE m.metadata LIKE '%%'; + WHERE m.metadata LIKE '% biblio.opac_suppressed mapping for all MARC frameworks"; - say_warning( $out, "You need to run the `maintenance/touch_all_biblios.pl` script" ); + say_warning( + $out, + "The biblio.opac_suppressed column should be updated, but you can run the `maintenance/touch_all_biblios.pl` script to be certain" + ); }, }; -- 2.39.5