Index: /branches/pap_mops/ippTools/src/pubtool.c
===================================================================
--- /branches/pap_mops/ippTools/src/pubtool.c	(revision 24455)
+++ /branches/pap_mops/ippTools/src/pubtool.c	(revision 24456)
@@ -303,9 +303,9 @@
 
     psMetadata *where = psMetadataAlloc(); // WHERE conditions
-    PXOPT_COPY_S64(config->args, where, "-pub_id", "pub_id", "==");
-    PXOPT_COPY_S32(config->args, where, "-fault", "fault", "==");
-    PXOPT_COPY_STR(config->args, where, "-client_id", "client_id", "==");
-    PXOPT_COPY_STR(config->args, where, "-comment", "comment", "LIKE");
-    PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
+    PXOPT_COPY_S64(config->args, where, "-pub_id", "publishRun.pub_id", "==");
+    PXOPT_COPY_S32(config->args, where, "-fault", "publishDone.fault", "==");
+    PXOPT_COPY_STR(config->args, where, "-client_id", "publishClient.client_id", "==");
+    PXOPT_COPY_STR(config->args, where, "-comment", "publishClient.comment", "LIKE");
+    PXOPT_COPY_STR(config->args, where, "-label", "publishRun.label", "==");
 
     psString query = pxDataGet("pubtool_revert.sql");
