Skip bad UTF-8 chars in MARC leaders
[yaz-moved-to-github.git] / src / cclqfile.c
index d2ca1c9..024b84d 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
  * See the file LICENSE for details.
  */
 /** 
@@ -146,6 +146,8 @@ int ccl_qual_field2(CCL_bibset bibset, const char *cp, const char *qual_name,
                         value = CCL_BIB1_STR_AND_LIST;
                     if (!ccl_stricmp (value_str, "ol"))
                         value = CCL_BIB1_STR_OR_LIST;
+                    if (!ccl_stricmp (value_str, "ag"))
+                        value = CCL_BIB1_STR_AUTO_GROUP;
                     break;                
                 case 't':
                 case 'T':