f7173a50 by Jeremy Groot

fix to term filters

1 parent 965d5f23
......@@ -62,6 +62,7 @@ function favourite_list_item($request) {
}
function resources_list($atts){
$tax_queries = [];
$taxes = explode(',', $atts['tax']);
......@@ -69,7 +70,7 @@ function resources_list($atts){
foreach($taxes as $tax) {
$all_the_terms = get_terms( $tax );
$all_the_terms = get_terms( ['taxonomy'=>$tax, 'hide_empty' => false] );
//Used to keep track of the filters to sue
$organized_term_filter[$tax] = $all_the_terms;
......