From 5aad8d759105bcc04cdc65e714699ce3733cd17d 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. --- 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