Support

Home Forums Event Espresso Premium Attendee excel export has duplicate entries

Attendee excel export has duplicate entries

Posted: February 6, 2014 at 6:40 am

Viewing 7 reply threads


Emoni

February 6, 2014 at 6:40 am

Hi

If you mark a name as attended and then unmark them a duplicate check-in date/time stamp entry appears in the excel spreadsheet. I also had a person who was registered once yet appears three times in the list – twice as attended/un-attended and then once as nothing at all.

Also, I can’t see how to filter the column so you get all those who attended and are marked as such and those that registered but are no shows.

Thanks


Seth Shoultes

  • Support Staff

February 6, 2014 at 10:25 am

Hi Nicholas,

If you mark a name as attended and then unmark them a duplicate check-in date/time stamp entry appears in the excel spreadsheet. I also had a person who was registered once yet appears three times in the list – twice as attended/un-attended and then once as nothing at all.

I am seeing the duplicate issue as well. Very strange. It may be that the SQL query is joining on the check-in date column (screenshot: http://www.screencast.com/t/nXQAQWE59drq), then showing them as duplicates, because it still shows as one record in the database. I’ll create a ticket for the developers.

Also, I can’t see how to filter the column so you get all those who attended and are marked as such and those that registered but are no shows.

Are you talking about the Event Espresso admin or the Excel file?


Emoni

February 6, 2014 at 4:12 pm

Thanks for looking into it. The second question is about the admin – the client wants to be able to filter between those marked attended/unattended and then export this to excel for their own CRM system. It seems obvious but I couldn’t see how to achieve this.


Sidney Harrell

February 6, 2014 at 5:57 pm

There isn’t a way to do that currently, it would have to be a little customization job to do it. Probably 2 support tokens would cover the time required.


Emoni

February 14, 2014 at 8:38 am

Hi

Do we know when the duplication of entries in the export might be fixed? I had a client review meeting and she was asking about the multiple entries shown. I did remark that this could have been due to marking/unmarking attendees but it would be useful to know how it could be avoided.

Thanks


Sidney Harrell

February 14, 2014 at 1:06 pm

If you go into includes/functions/export.php and put this in right after line 429, it will fix it:

$rebuild_participants = array();
							foreach ($participants as $participant) {
								$rebuild_participants[$participant->att_id] = $participant;
							}
							$participants = $rebuild_participants;


Emoni

February 16, 2014 at 11:40 am

Hi

I was getting a parse error at line 431 after adding the code and it wouldn’t export. I checked and it was exactly as shown, let me know what the adjustment is.


Sidney Harrell

February 17, 2014 at 5:17 am

I copied and pasted it into a different test setup and it seems to work fine. I’ll include some of the code around the part that I added above, so you can see it in context.
<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”> $sql .= $espresso_member ? ") ORDER BY att_id " : " ORDER BY a.id ";

$participants = $wpdb->get_results($sql);
$rebuild_participants = array();
foreach ($participants as $participant) {
$rebuild_participants[$participant->att_id] = $participant;
}
$participants = $rebuild_participants;
$filename = ( isset($_REQUEST['all_events']) && $_REQUEST['all_events'] == "true" ) ? __('all-events', 'event_espresso') : $event_name;

Viewing 7 reply threads

The support post ‘Attendee excel export has duplicate entries’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso