From: Steve Sutton Date: Tue, 10 Jul 2018 15:14:42 +0000 (-0400) Subject: Add query to remove the not attending attendees from export. X-Git-Tag: v1.0.9^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5614c54455986b5c949f56ccdfa3682c7f63aaea;p=WP-Plugins%2Fglm-member-db-registrations.git Add query to remove the not attending attendees from export. If they select the complete filter then it will not export those attendees with Not Attending flag set. --- diff --git a/models/admin/ajax/registrantsListExport.php b/models/admin/ajax/registrantsListExport.php index 6cb0b16..b09f954 100644 --- a/models/admin/ajax/registrantsListExport.php +++ b/models/admin/ajax/registrantsListExport.php @@ -145,6 +145,7 @@ class GlmMembersAdmin_ajax_registrantsListExport extends GlmDataRegistrationsReq // FROM " . GLM_MEMBERS_REGISTRATIONS_PLUGIN_DB_PREFIX . "reg_request // WHERE status = {$this->config['submission_status_numb']['COMPLETE']})"; + $whereParts[] = " T.not_attending <> true "; $whereParts[] = " ( SELECT count(id)