From 5614c54455986b5c949f56ccdfa3682c7f63aaea Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 10 Jul 2018 11:14:42 -0400 Subject: [PATCH] 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. --- models/admin/ajax/registrantsListExport.php | 1 + 1 file changed, 1 insertion(+) 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) -- 2.17.1