diff --git a/includes/admin-functions.php b/includes/admin-functions.php index 93ecfc993b..18ae8d673c 100755 --- a/includes/admin-functions.php +++ b/includes/admin-functions.php @@ -120,6 +120,10 @@ function dokan_shop_order_custom_columns( $col ) { function dokan_admin_shop_order_row_classes( $classes, $post_id ) { global $post; + if ( is_search() ) { + return $classes; + } + if ( $post->post_type == 'shop_order' && $post->post_parent != 0 ) { $classes[] = 'sub-order parent-' . $post->post_parent; }