diff --git a/includes/class-sp-team.php b/includes/class-sp-team.php index 0a671086..c518d381 100644 --- a/includes/class-sp-team.php +++ b/includes/class-sp-team.php @@ -488,7 +488,7 @@ class SP_Team extends SP_Custom_Post { ); $tables_by_terms = get_posts( $args ); - $tables = array_merge( $tables_by_id, $tables_by_terms ); + $tables = array_merge( $tables_by_terms, $tables_by_id ); $checked = (array) get_post_meta( $this->ID, 'sp_table' );