f7173a50 by Jeremy Groot

fix to term filters

1 parent 965d5f23
......@@ -63,13 +63,14 @@ function favourite_list_item($request) {
function resources_list($atts){
$tax_queries = [];
$taxes = explode(',', $atts['tax']);
$organized_term_filter = [];
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;
......