You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Give Admin, I want to be able to export my donations based on category regardless of how many forms I have an how many donations they have on them.
Current Behavior
Currently, if you have more than 10 forms in a category, and the first 10 forms don't have any donations yet, you can't run the export tool at all.
Expected Behavior
I expect that:
The category and tag dropdowns will allow me to choose from ALL categories and tags, not just the most recent 10 categories and tags.
That when I can choose from all cats and tags, that I'll get donation data from the forms
Steps to Reproduce
Create 11 forms and add them all to a category
Do a donation on the OLDEST form -- the 1st form
Go to "Donations > Tools > Export Donation History"
From there, choose the category and keep the form on "All Forms".
Run the export and you'll get this error:
This is because the All Forms dropdown is only applied to the first 10 most recent forms. That oldest form is excluded from the dropdown query so the export thinks there's no donations at all.
Possible Solution
"All Forms" needs to really mean "All Forms", not just the forms that the dropdown query returns. This might potentially be because of this line where we query using get_terms() but we don't designate the count argument. So I believe it defaults to "10". That's my best guess right now.
Tasks
Ensure all forms are returned correctly, when "All Forms" is chosen.
Ensure that all forms are returned in the dropdown regardless of category/tag
Ensure that all tags/categories can be returned, more than 10
Ensure that if we return all, that it doesn't take forever to make that happen. Make the new query smart and fast.
User Story
As a
Give Admin
, I want to be able to export my donations based on category regardless of how many forms I have an how many donations they have on them.Current Behavior
Currently, if you have more than 10 forms in a category, and the first 10 forms don't have any donations yet, you can't run the export tool at all.
Expected Behavior
I expect that:
Steps to Reproduce
This is because the All Forms dropdown is only applied to the first 10 most recent forms. That oldest form is excluded from the dropdown query so the export thinks there's no donations at all.
Possible Solution
"All Forms" needs to really mean "All Forms", not just the forms that the dropdown query returns. This might potentially be because of this line where we query using
get_terms()
but we don't designate thecount
argument. So I believe it defaults to "10". That's my best guess right now.Tasks
Related
The text was updated successfully, but these errors were encountered: