Skip to content

Commit

Permalink
fix: change author to vendor_id to retrive all the vendor orders (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Dec 3, 2018
1 parent 724e320 commit 912879d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function dokan_shop_order_custom_columns( $col ) {

if ( $has_sub != '1' ) {
$seller = get_user_by( 'id', dokan_get_seller_id_by_order( $post->ID ) );
printf( '<a href="%s">%s</a>', admin_url( 'edit.php?post_type=shop_order&author=' . $seller->ID ), $seller->display_name );
printf( '<a href="%s">%s</a>', admin_url( 'edit.php?post_type=shop_order&vendor_id=' . $seller->ID ), $seller->display_name );
}

break;
Expand Down

0 comments on commit 912879d

Please sign in to comment.