Skip to content

Commit

Permalink
Merge pull request #886 from ramiy/issue/866
Browse files Browse the repository at this point in the history
Make transaction columns "Donation Form" and "Status" sortable
  • Loading branch information
Devin Walker committed Aug 16, 2016
2 parents 0cf1c5a + bc962f6 commit 1ec441a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions includes/admin/payments/class-payments-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,11 @@ public function get_columns() {
*/
public function get_sortable_columns() {
$columns = array(
'donation' => array( 'ID', true ),
'amount' => array( 'amount', false ),
'date' => array( 'date', false )
'donation' => array( 'ID', true ),
'donation_form' => array( 'donation_form', false ),
'status' => array( 'status', false ),
'amount' => array( 'amount', false ),
'date' => array( 'date', false )
);

return apply_filters( 'give_payments_table_sortable_columns', $columns );
Expand Down

0 comments on commit 1ec441a

Please sign in to comment.