Line 349: | Line 349: | ||
temp_object = all_teams_info[x]; | temp_object = all_teams_info[x]; | ||
− | + | /** | |
//check for country | //check for country | ||
if( temp_object.location == values_to_search.location ){ | if( temp_object.location == values_to_search.location ){ | ||
Line 368: | Line 368: | ||
$("#filtered_results").append("<p>Found:"+ temp_object.team_name+"</p>"); | $("#filtered_results").append("<p>Found:"+ temp_object.team_name+"</p>"); | ||
} | } | ||
+ | **/ | ||
+ | |||
+ | |||
+ | //decision tree to figure out what variable combinations the user is requesting | ||
+ | if(values_to_search.location != 'all'){ | ||
+ | |||
+ | console.log("user chose a location"); | ||
+ | |||
+ | if(values_to_search.track != 'all'){ | ||
+ | |||
+ | console.log("user chose a track"); | ||
+ | |||
+ | if(values_to_search.section != 'all'){ | ||
+ | |||
+ | console.log("user chose a section"); | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a section"); | ||
+ | } | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a track"); | ||
+ | |||
+ | if(values_to_search.section != 'all'){ | ||
+ | |||
+ | console.log("user chose a section"); | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a section"); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | else{ | ||
+ | console.log("user didnt chose a location"); | ||
+ | |||
+ | if(values_to_search.track != 'all'){ | ||
+ | |||
+ | console.log("user chose a track"); | ||
+ | |||
+ | if(values_to_search.section != 'all'){ | ||
+ | |||
+ | console.log("user chose a section"); | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a section"); | ||
+ | } | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a track"); | ||
+ | |||
+ | if(values_to_search.section != 'all'){ | ||
+ | |||
+ | console.log("user chose a section"); | ||
+ | |||
+ | } | ||
+ | else{ | ||
+ | console.log("user didnt chose a section"); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
Revision as of 18:09, 5 September 2019
Information on all teams
This page contains information and links to all the 2019 teams. If you would like to search for a specific team or filter by categories you can do so by using the search tool below.
Search and filter tool
Team list
Country / Territory
Tracks
Section
results will be here: