Print ext command in help
[yaz-moved-to-github.git] / src / cqltransform.c
index 57284be..aaf8303 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: cqltransform.c,v 1.12 2004-11-01 20:13:02 adam Exp $
-   Copyright (C) 2002-2004
+/* $Id: cqltransform.c,v 1.14 2005-06-23 15:03:40 adam Exp $
+   Copyright (C) 1995-2005, Index Data ApS
    Index Data Aps
 
 This file is part of the YAZ toolkit.
@@ -419,7 +419,7 @@ void cql_transform_r(cql_transform_t ct,
             struct cql_node *mod = cn->u.st.modifiers;
             for (; mod; mod = mod->u.st.modifiers)
             {
-                cql_pr_attr(ct, "relationModifier", mod->u.st.term, 0,
+                cql_pr_attr(ct, "relationModifier", mod->u.st.index, 0,
                             pr, client_data, 20);
             }
         }