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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl
index c14f07f..432078d 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;
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches