Skip to content
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

fix(admin-tool): All Forms dropdown on the Donation Export only uses first ten forms #3303 #3346

Merged
merged 2 commits into from
Jun 12, 2018

Conversation

raftaar1191
Copy link
Contributor

@raftaar1191 raftaar1191 commented Jun 12, 2018

Description

PR to fix #3303

How Has This Been Tested?

Tested by exporting donation by selecting the cat and tag and then exporting the donation

Video Link: https://screencast-o-matic.com/watch/cF1l1eFfAa

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

@raftaar1191 raftaar1191 changed the title WIP: fix(admin-tool): All Forms dropdown on the Donation Export only uses first ten forms #3303 fix(admin-tool): All Forms dropdown on the Donation Export only uses first ten forms #3303 Jun 12, 2018
Copy link
Collaborator

@ravinderk ravinderk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raftaar1191 can you confirm that form dropdown ajax supported or not

@raftaar1191
Copy link
Contributor Author

@ravinderk This PR is ready for review and merge

@raftaar1191
Copy link
Contributor Author

Yes @ravinderk it support ajax form Search too

@@ -189,6 +189,10 @@ function give_export_donation_form_search_args( $args ) {
$fields = isset( $_POST['fields'] ) ? $_POST['fields'] : null;
parse_str( $fields );

if ( ! empty( $give_forms_categories ) || ! empty( $give_forms_tags ) ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raftaar1191 if ajax enabled for form for category and tag then why we have -1 here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raftaar1191 everything is good here

@@ -189,6 +189,10 @@ function give_export_donation_form_search_args( $args ) {
$fields = isset( $_POST['fields'] ) ? $_POST['fields'] : null;
parse_str( $fields );

if ( ! empty( $give_forms_categories ) || ! empty( $give_forms_tags ) ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raftaar1191 everything is good here

@ravinderk ravinderk merged commit 0028810 into release/2.1.5 Jun 12, 2018
@ravinderk ravinderk deleted the issue-3303 branch June 12, 2018 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants