Making WordPress.org


Ignore:
Timestamp:
02/04/2015 11:46:59 PM (11 years ago)
Author:
iandunn
Message:

WordCamp Payments Dashboard: Reorganize the contents of the tabs.

Overview contained all statuses, which will quickly become cluttered with paid requests, and therefore be useless for seeing the most relevant requests quickly. Overdue is now the default tab, since it's the most urgent. Paid requests have been moved to their own tab, so that they're accessible, but out of the way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/class-list-table.php

    r1000 r1222  
    4545     */
    4646    public function set_view( $view ) {
    47         $this->view = 'overview';
    48         if ( in_array( $view, array( 'overview', 'pending', 'overdue' ) ) )
     47        $this->view = 'overdue';
     48        if ( in_array( $view, array( 'pending', 'overdue', 'paid' ) ) )
    4949            $this->view = $view;
    5050    }
     
    8787        } elseif ( 'pending' == $this->view ) {
    8888            $where .= " AND `status` = 'unpaid' ";
     89        } elseif ( 'paid' == $this->view ) {
     90            $where .= " AND `status` = 'paid' ";
    8991        }
    9092
Note: See TracChangeset for help on using the changeset viewer.