From 9b52836fce4e72ce68f9dfc85980a724e64d1af2 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Tue, 6 Mar 2018 11:03:51 +1100 Subject: [PATCH] Filter players dropdown by current team only --- templates/player-selector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/player-selector.php b/templates/player-selector.php index 2444a77f..4fe1c0cd 100644 --- a/templates/player-selector.php +++ b/templates/player-selector.php @@ -48,7 +48,7 @@ endif; if ( $team ): $args['meta_query'] = array( array( - 'key' => 'sp_team', + 'key' => 'sp_current_team', 'value' => $team ), );