export fixes to respect search criteria
authorkurund <kurund@civicrm.org>
Tue, 3 Sep 2013 09:31:49 +0000 (15:01 +0530)
committerkurund <kurund@civicrm.org>
Tue, 3 Sep 2013 09:31:49 +0000 (15:01 +0530)
CRM/Export/BAO/Export.php

index e373ca62984c51d6bd03854029fb9e33659aca40..d82899b468e2b5a4dfd6dc4ad67e7123fd027e6c 100644 (file)
@@ -401,7 +401,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
       }
     }
 
-    $query = new CRM_Contact_BAO_Query(NULL, $returnProperties, NULL,
+    $query = new CRM_Contact_BAO_Query($params, $returnProperties, NULL,
       FALSE, FALSE, $queryMode,
       FALSE, TRUE, TRUE, NULL, $queryOperator
     );