Posted: October 11, 2022 at 12:45 pm
Trying to export a list of attendees to a specific event. The registration CSV report button still exports a FULL list rather than just the list for that event regardless of how I try and filter. |
|
Hi there, I can’t reproduce this so need to check how you are filtered. Just Event Espresso -> Events -> {hover over event} -> Registrations. Then clicking the Registrations CSV Report button at the bottom of the page? |
|
This reply has been marked as private. | |
Hmm, yeah. So first, thank you for the video. That is exactly what I’m doing but I’m only getting the registrations for the event itself. Any custom code hooking into the registration report? I’m thinking of this hook:
But if you have any custom code hooking in, test with that disabled, same result? Before you click the CSV report button, set the Reg Status (dropdown says ‘Select Status’) to ‘Approved’ and click Filter. Then run the export, does that work? |
|
This reply has been marked as private. | |
Ok, so that means that none of the filters are being applied at all. Very strange. Do you have FTP access to the server? I can walk through some troubleshooting steps for this if you’d like? |
|
This reply has been marked as private. | |
Ok, so lots of ways to debug/log the contents of variables but I like to use a little helper function like this: https://gist.github.com/Pebblo/5cef7b7b004b83f527360494f55a162c#file-ee_hooks_log-php-L4-L12 I add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ If I’m hooking into core I’ll add the functions to do so to that same plugin, but in this example, I’d simply log the contents within core and then remove my calls to log when finished. So with that log function on the site, add this to your site’s https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Put that snippet in place of just:
Which is likely already in there. That snippet sets WordPress to log errors to /wp-content/debug.log, I use that just as its easier, if you want to use another method please feel free. —- Next open up Line 57 should be:
Within that function, just above this line:
Add Run and export then check the debug.log file from above, if should hold a bunch of details from job_parameters, can you add those here? Or if you prefer for me to do this directly I’m happy to do so, just send temp credentials over using this form: |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi there, Just nothing I have replied via email to this. For future readers of this thread, the above issue was due to some code hooking into |
|
The support post ‘Registration CSV Report Doesn't Filter’ 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.