New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: include custom columns in donor export CSV #3709
Comments
This is a feature requested by myself so just giving it the thumbs up! My clients have various custom donor meta (phone number for example), and being able to add these into the CSV they export would be hugely beneficial. Thanks |
@simeonrowsell Thanks for checking in. We are going to add this to our current sprint and get that filter in place for you. @mehul0810 Please make sure once you add the filter to Give core, you also update the snippet to show how to use the filter so that the custom donor fields appear in the export screen. This has been defined in acceptance criteria above. |
@kevinwhoffman I've investigated on this issue and it is not a quick fix. You can check call summary below for more information. Also, to add, I'll require more time to fix this issue so I would recommend if we can bump this issue to Slack Call SummaryParticipants: @mehul0810 @ravinderk |
Added the updated Acceptance Criteria based on further investigation in the description of the issue. |
Thanks all! I have another project using Give starting in a month or so which I know this will be useful for too. Looking forward to the update :) |
@kevinwhoffman I've created a PR for |
feat: include custom columns in donor export CSV #3709
@mehul0810 I think this issue resolved, so closing this. |
User Story
As a third party developer, I want to add custom meta to the donor, and then be able to include that custom column on the user interface at Donations > Tools > export so that the end user can conditionally select the columns added to the CSV.
This requires a new filter to add that column to the user interface.
Visuals
Possible Solution
Add a filter here: https://github.com/WordImpress/Give/blob/master/includes/admin/tools/export/class-batch-export-donors.php#L217
Acceptance Criteria
get_default_columns
to handle default columns list for export.give_export_donor_get_default_columns
to the fnget_default_columns
get_default_columns
accessible in the view filehtml-admin-page-exports.php
.get_default_columns
so that the opt-in donor fields and fields added via filter are loaded dynamicallyRelated
The text was updated successfully, but these errors were encountered: