From 4b022f2bdaa5cf9f454f7c0f91d7bc9ec7aff34f Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Thu, 22 Jan 2009 11:51:39 +0100 Subject: [PATCH] Authtypecode return an warning even if subfield is ignored this patch just add a condition to the sql request to return a warning only if authtypecode is not in an ignored subfield. Signed-off-by: Henri-Damien LAURENT --- admin/checkmarc.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl index c14f07fced..432078d4ab 100755 --- a/admin/checkmarc.pl +++ b/admin/checkmarc.pl @@ -231,6 +231,7 @@ $sth = $dbh->prepare("SELECT frameworkcode, frameworktext, tagfield, tagsubfield LEFT JOIN biblio_framework USING (frameworkcode) WHERE authtypecode IS NOT NULL AND authtypecode <> '' + AND tab > '-1' AND authtypecode NOT IN (SELECT authtypecode FROM auth_types) ORDER BY frameworkcode, tagfield, tagsubfield"); $sth->execute; -- 2.39.5