Merge pull request #367 from kadimi/patch-24

Fix league tables order
This commit is contained in:
Brian Miyaji
2020-04-09 22:52:22 +10:00
committed by GitHub

View File

@@ -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' );