Skip to content

Commit

Permalink
Fix #2683
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Jan 19, 2018
1 parent 78a3394 commit c8fd02d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/admin/donors/class-donor-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function column_default( $donor, $column_name ) {
case 'num_donations' :
$value = sprintf(
'<a href="%s">%s</a>',
admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&donor=' . absint( $donor['id'] ) ),
admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&status=publish&donor=' . absint( $donor['id'] ) ),
esc_html( $donor['num_donations'] )
);
break;
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/donors/donors.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class="button info-item editable donor-edit-link"><?php _e( 'Edit Donor', 'give'
<div id="donor-stats-wrapper" class="donor-section postbox clear">
<ul>
<li>
<a href="<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&donor=' . absint( $donor->id ) ); ?>">
<a href="<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-payment-history&status=publish&donor=' . absint( $donor->id ) ); ?>">
<span class="dashicons dashicons-heart"></span>
<?php
// Completed Donations.
Expand Down

0 comments on commit c8fd02d

Please sign in to comment.