Skip to content

Commit

Permalink
Fix needs followup filter
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed May 20, 2024
1 parent 9a6fe3f commit 663588c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ public static function get_current_tab() {
$tabs = array(
'drafts',
'overdue',

'pending-approval',
'approved',
'pending-payment',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public function prepare_items() {
$where .= " AND `status` IN ( 'wcb-failed', 'wcb-cancelled' ) ";
} elseif ( 'drafts' == $view ) {
$where .= " AND `status` = 'draft' ";
} elseif ( 'needs-followup' == $view ) {
$where .= " AND `status` = 'wcb-needs-followup' ";
}

if ( ! empty( $_REQUEST['s'] ) ) {
Expand Down

0 comments on commit 663588c

Please sign in to comment.