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

Issues/2397 #2399

Merged
merged 12 commits into from
Nov 27, 2017
Merged

Issues/2397 #2399

merged 12 commits into from
Nov 27, 2017

Conversation

ravinderk
Copy link
Collaborator

@ravinderk ravinderk commented Nov 24, 2017

Description

THIS PR WILL RESOLVE #2397

How Has This Been Tested?

Manually apply gateway sorting with form_id

Screenshots (jpeg or gifs if applicable):

image
image
image

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

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

@@ -419,177 +419,29 @@ function give_undo_donation( $payment_id ) {
* @return object $stats Contains the number of payments per payment status.
*/
function give_count_payments( $args = array() ) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@DevinWalker I update this function and removed some unused filter also, let me know what do you think

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let me know if you want to add backward compatibility for give_count_payments_where and give_count_payments_join

Copy link
Member

@DevinWalker DevinWalker left a comment

Choose a reason for hiding this comment

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

Looks good @ravinderk

@DevinWalker DevinWalker merged commit 66a7d19 into impress-org:release/1.8.17 Nov 27, 2017
@raftaar1191
Copy link
Contributor

@ravinderk have a Question for you

We can order table with donation from id, date etc but what I see is that I am not able to use any of the filter

Is it normal?

image

@ravinderk
Copy link
Collaborator Author

@DevinWalker and @mehul0810 can you confirm sorting is working fine for you

@DevinWalker
Copy link
Member

@ravinderk sorting what?

@ravinderk
Copy link
Collaborator Author

@DevinWalker Sorting on donation listing page with filters

@DevinWalker
Copy link
Member

@ravinderk looks like sorting is working but paging is broken https://goo.gl/qUqutJ

Can you fix that ASAP?

@ravinderk ravinderk mentioned this pull request Dec 8, 2017
3 tasks
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

3 participants