Debug log on facet attribute limit
authorDennis Schafroth <dennis@indexdata.com>
Mon, 26 Jul 2010 14:25:33 +0000 (16:25 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 26 Jul 2010 14:25:33 +0000 (16:25 +0200)
src/facet.c

index a770295..721b7e3 100644 (file)
@@ -87,6 +87,7 @@ void limitattr ( Z_AttributeElement *ae,
   /* TODO - check numeric first, then value! */
     if ( ae->which == Z_AttributeValue_numeric ) {
         av->limit = *ae->value.numeric;
+        yaz_log(YLOG_DEBUG, "limitattr %d ", av->limit);
     } else {
         av->errcode = YAZ_BIB1_UNSUPP_ATTRIBUTE;
         av->errstring = "non-numeric limit attribute";